aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-11-04 17:47:12 -0500
committerPaul Mundt <lethal@linux-sh.org>2007-11-06 21:13:54 -0500
commitb5f2d739e1f1fcfd3b9277cd43afad024bd7eca9 (patch)
treef55f859156389a9cb317c6b47243d776d3eac48b
parenta8199071ca9129c02b25c649f62d499a26b0ff5b (diff)
sh: remove PTRACE_O_TRACESYSGOOD from asm/ptrace.h
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>
-rw-r--r--include/asm-sh/ptrace.h3
-rw-r--r--include/asm-sh64/ptrace.h2
2 files changed, 0 insertions, 5 deletions
diff --git a/include/asm-sh/ptrace.h b/include/asm-sh/ptrace.h
index ed358a376e6e..b9789c8b4d15 100644
--- a/include/asm-sh/ptrace.h
+++ b/include/asm-sh/ptrace.h
@@ -42,9 +42,6 @@
42#define REG_FPSCR 55 42#define REG_FPSCR 55
43#define REG_FPUL 56 43#define REG_FPUL 56
44 44
45/* options set using PTRACE_SETOPTIONS */
46#define PTRACE_O_TRACESYSGOOD 0x00000001
47
48/* 45/*
49 * This struct defines the way the registers are stored on the 46 * This struct defines the way the registers are stored on the
50 * kernel stack during a system call or other kernel entry. 47 * kernel stack during a system call or other kernel entry.
diff --git a/include/asm-sh64/ptrace.h b/include/asm-sh64/ptrace.h
index a6d4da519db6..c424f80e3ae0 100644
--- a/include/asm-sh64/ptrace.h
+++ b/include/asm-sh64/ptrace.h
@@ -32,6 +32,4 @@ struct pt_regs {
32extern void show_regs(struct pt_regs *); 32extern void show_regs(struct pt_regs *);
33#endif 33#endif
34 34
35#define PTRACE_O_TRACESYSGOOD 0x00000001
36
37#endif /* __ASM_SH64_PTRACE_H */ 35#endif /* __ASM_SH64_PTRACE_H */