diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2008-08-17 10:49:25 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-10-11 11:18:41 -0400 |
commit | 5d9a76cd0ed367d01b0b237253adb7607e86a277 (patch) | |
tree | 1c239a7cc3044a6ddc077148e97c1182aa8eb065 /include/asm-mips/ptrace.h | |
parent | b922df7383749a1c0b7ea64c50fa839263d3816b (diff) |
MIPS: Use compat_sys_ptrace
This replaces mips's sys_ptrace32 with a compat_arch_ptrace and
enables the new generic definition of compat_sys_ptrace instead.
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/ptrace.h')
-rw-r--r-- | include/asm-mips/ptrace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-mips/ptrace.h b/include/asm-mips/ptrace.h index 786f7e3c99bc..c00cca24dae0 100644 --- a/include/asm-mips/ptrace.h +++ b/include/asm-mips/ptrace.h | |||
@@ -9,6 +9,9 @@ | |||
9 | #ifndef _ASM_PTRACE_H | 9 | #ifndef _ASM_PTRACE_H |
10 | #define _ASM_PTRACE_H | 10 | #define _ASM_PTRACE_H |
11 | 11 | ||
12 | #ifdef CONFIG_64BIT | ||
13 | #define __ARCH_WANT_COMPAT_SYS_PTRACE | ||
14 | #endif | ||
12 | 15 | ||
13 | /* 0 - 31 are integer registers, 32 - 63 are fp registers. */ | 16 | /* 0 - 31 are integer registers, 32 - 63 are fp registers. */ |
14 | #define FPR_BASE 32 | 17 | #define FPR_BASE 32 |