Skip to content

Commit

Permalink
sh: remove PTRACE_O_TRACESYSGOOD from asm/ptrace.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and Paul Mundt committed Nov 7, 2007
1 parent a819907 commit b5f2d73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions include/asm-sh/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions include/asm-sh64/ptrace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

0 comments on commit b5f2d73

Please sign in to comment.