summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/ptrace.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-08 07:46:09 +0100
committerDavid S. Miller <davem@davemloft.net>2008-02-08 07:46:09 +0100
commit2ba85f3a58441dda35c62f0bc24e0dc3de432a88 (patch)
tree2f44da903627afd01badc01f0fed75fcb4c2a510 /include/asm-sparc64/ptrace.h
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sha... (diff)
downloadlinux-2ba85f3a58441dda35c62f0bc24e0dc3de432a88.tar.xz
linux-2ba85f3a58441dda35c62f0bc24e0dc3de432a88.zip
[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 734a767f0a4e..8617c3a5143b 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)