patch-2.4.0-test8 linux/include/asm-arm/ptrace.h

Next file: linux/include/asm-arm/scatterlist.h
Previous file: linux/include/asm-arm/proc-armv/system.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test7/linux/include/asm-arm/ptrace.h linux/include/asm-arm/ptrace.h
@@ -3,11 +3,6 @@
 
 #include <asm/proc/ptrace.h>
 
-#define PTRACE_GETREGS		12
-#define PTRACE_SETREGS		13
-#define PTRACE_GETFPREGS	14
-#define PTRACE_SETFPREGS	15
-
 #ifndef __ASSEMBLY__
 #define pc_pointer(v) \
 	((v) & ~PCMASK)
@@ -16,6 +11,11 @@
 	(pc_pointer((regs)->ARM_pc))
 
 #ifdef __KERNEL__
+#define PTRACE_GETREGS		12
+#define PTRACE_SETREGS		13
+#define PTRACE_GETFPREGS	14
+#define PTRACE_SETFPREGS	15
+
 extern void show_regs(struct pt_regs *);
 
 #define predicate(x)	(x & 0xf0000000)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)