summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorjanboe <janboe.ye@gmail.com>2008-03-19 03:34:23 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-03-20 16:59:31 +0100
commitee4cd588a3d9f81b5b13b76a498c3118a61f1dd2 (patch)
treee5c63eb76d972ec558b0c3cdb567c631f0d11b2d /arch/arm
parent[ARM] 4869/1: ARM: OMAP: Fix compile for mcbsp (diff)
downloadlinux-ee4cd588a3d9f81b5b13b76a498c3118a61f1dd2.tar.xz
linux-ee4cd588a3d9f81b5b13b76a498c3118a61f1dd2.zip
[ARM] 4870/1: fix signal return code when enable CONFIG_OABI_COMPAT
fix signal return code when enable CONFIG_OABI_COMPAT Signed-off-by: Janboe Ye <janboe.ye@gmail.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/kernel/signal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c
index 54cdf1aeefc3..ef2f86a5e78a 100644
--- a/arch/arm/kernel/signal.c
+++ b/arch/arm/kernel/signal.c
@@ -26,8 +26,8 @@
/*
* For ARM syscalls, we encode the syscall number into the instruction.
*/
-#define SWI_SYS_SIGRETURN (0xef000000|(__NR_sigreturn))
-#define SWI_SYS_RT_SIGRETURN (0xef000000|(__NR_rt_sigreturn))
+#define SWI_SYS_SIGRETURN (0xef000000|(__NR_sigreturn)|(__NR_OABI_SYSCALL_BASE))
+#define SWI_SYS_RT_SIGRETURN (0xef000000|(__NR_rt_sigreturn)|(__NR_OABI_SYSCALL_BASE))
/*
* With EABI, the syscall number has to be loaded into r7.