[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <af3ea28a0803060714s523ede0cr27b12979865f6faf@mail.gmail.com>
Date: Thu, 6 Mar 2008 23:14:50 +0800
From: "ye janboe" <janboe.ye@...il.com>
To: linux-arm-kernel@...ts.arm.linux.org.uk
Cc: linux@....linux.org.uk, linux-kernel@...r.kernel.org
Subject: [PATCH] fix signal return code when enable CONFIG_OABI_COMPAT
commit b4e8bde513a9a477c30c8769073ced7b59676d48
Author: janboe <janboe.ye@...il.com>
Date: Thu Mar 6 23:00:23 2008 +0800
fix signal return code when enable CONFIG_OABI_COMPAT.
because this will make kernel report this syscall obsolete.
Signed-off-by: Janboe Ye <janboe.ye@...il.com>
diff --git a/arch/arm/kernel/signal.c b/arch/arm/kernel/signal.c
index 54cdf1a..b863255 100644
--- a/arch/arm/kernel/signal.c
+++ b/arch/arm/kernel/signal.c
@@ -26,8 +26,13 @@
/*
* For ARM syscalls, we encode the syscall number into the instruction.
*/
+#ifndef CONFIG_AEABI
#define SWI_SYS_SIGRETURN (0xef000000|(__NR_sigreturn))
#define SWI_SYS_RT_SIGRETURN (0xef000000|(__NR_rt_sigreturn))
+#else
+#define SWI_SYS_SIGRETURN (0xef000000)
+#define SWI_SYS_RT_SIGRETURN (0xef000000)
+#endif
/*
* With EABI, the syscall number has to be loaded into r7.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists