aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/ptrace.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-07 22:46:09 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-07 22:46:09 -0800
commit2ba85f3a58441dda35c62f0bc24e0dc3de432a88 (patch)
tree2f44da903627afd01badc01f0fed75fcb4c2a510 /include/asm-sparc64/ptrace.h
parentdf922075f2a55b1ae71a6fe589c1cc1b91381f4f (diff)
downloadkernel_samsung_aries-2ba85f3a58441dda35c62f0bc24e0dc3de432a88.zip
kernel_samsung_aries-2ba85f3a58441dda35c62f0bc24e0dc3de432a88.tar.gz
kernel_samsung_aries-2ba85f3a58441dda35c62f0bc24e0dc3de432a88.tar.bz2
[SPARC64]: Make use of compat_sys_ptrace()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64/ptrace.h')
-rw-r--r--include/asm-sparc64/ptrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-sparc64/ptrace.h b/include/asm-sparc64/ptrace.h
index 734a767..8617c3a 100644
--- a/include/asm-sparc64/ptrace.h
+++ b/include/asm-sparc64/ptrace.h
@@ -95,6 +95,8 @@ struct sparc_trapf {
#ifdef __KERNEL__
+#define __ARCH_WANT_COMPAT_SYS_PTRACE
+
#define force_successful_syscall_return() \
do { current_thread_info()->syscall_noerror = 1; \
} while (0)