Skip to content

Commit

Permalink
uml: mark tt-mode code for future removal
Browse files Browse the repository at this point in the history
Mark some tt-mode-only code as such.

Also cleaned up some formatting.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed May 7, 2007
1 parent b4ffb6a commit 48b2018
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions arch/um/sys-i386/ptrace_user.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
/*
* Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
* Licensed under the GPL
*/
Expand Down Expand Up @@ -45,7 +45,8 @@ int ptrace_setfpregs(long pid, unsigned long *regs)
return 0;
}

/* All the below stuff is of interest for TT mode only */
#ifdef UML_CONFIG_MODE_TT

static void write_debugregs(int pid, unsigned long *regs)
{
struct user *dummy;
Expand Down Expand Up @@ -128,13 +129,4 @@ void update_debugregs(int seq)
}
#endif

/*
* Overrides for Emacs so that we follow Linus's tabbing style.
* Emacs will notice this stuff at the end of the file and automatically
* adjust the settings for this buffer only. This must remain at the end
* of the file.
* ---------------------------------------------------------------------------
* Local variables:
* c-file-style: "linux"
* End:
*/
#endif

0 comments on commit 48b2018

Please sign in to comment.