aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/sys-i386/ptrace_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/sys-i386/ptrace_user.c')
-rw-r--r--arch/um/sys-i386/ptrace_user.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/arch/um/sys-i386/ptrace_user.c b/arch/um/sys-i386/ptrace_user.c
index 01212c88fcc4..95dd309ff69a 100644
--- a/arch/um/sys-i386/ptrace_user.c
+++ b/arch/um/sys-i386/ptrace_user.c
@@ -1,4 +1,4 @@
1/* 1/*
2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com) 2 * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
3 * Licensed under the GPL 3 * Licensed under the GPL
4 */ 4 */
@@ -45,7 +45,8 @@ int ptrace_setfpregs(long pid, unsigned long *regs)
45 return 0; 45 return 0;
46} 46}
47 47
48/* All the below stuff is of interest for TT mode only */ 48#ifdef UML_CONFIG_MODE_TT
49
49static void write_debugregs(int pid, unsigned long *regs) 50static void write_debugregs(int pid, unsigned long *regs)
50{ 51{
51 struct user *dummy; 52 struct user *dummy;
@@ -128,13 +129,4 @@ void update_debugregs(int seq)
128} 129}
129#endif 130#endif
130 131
131/* 132#endif
132 * Overrides for Emacs so that we follow Linus's tabbing style.
133 * Emacs will notice this stuff at the end of the file and automatically
134 * adjust the settings for this buffer only. This must remain at the end
135 * of the file.
136 * ---------------------------------------------------------------------------
137 * Local variables:
138 * c-file-style: "linux"
139 * End:
140 */