sh: remove PTRACE_O_TRACESYSGOOD from asm/ptrace.h
authorMike Frysinger <vapier@gentoo.org>
Sun, 4 Nov 2007 22:47:12 +0000 (07:47 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 7 Nov 2007 02:13:54 +0000 (11:13 +0900)
The common linux/ptrace.h already defines PTRACE_O_TRACESYSGOOD so there is no
need to have arches do it.  This also keeps glibc-2.7 from breaking since it
has an enum for the PTRACE_O_* flags.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/ptrace.h
include/asm-sh64/ptrace.h

index ed358a3..b9789c8 100644 (file)
@@ -42,9 +42,6 @@
 #define REG_FPSCR      55
 #define REG_FPUL       56
 
-/* options set using PTRACE_SETOPTIONS */
-#define PTRACE_O_TRACESYSGOOD     0x00000001
-
 /*
  * This struct defines the way the registers are stored on the
  * kernel stack during a system call or other kernel entry.
index a6d4da5..c424f80 100644 (file)
@@ -32,6 +32,4 @@ struct pt_regs {
 extern void show_regs(struct pt_regs *);
 #endif
 
-#define PTRACE_O_TRACESYSGOOD     0x00000001
-
 #endif /* __ASM_SH64_PTRACE_H */