summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/kernel/signal.h')
-rw-r--r--arch/arm/kernel/signal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/signal.h b/arch/arm/kernel/signal.h
index 5ff067b7c752..6fcfe8398aa4 100644
--- a/arch/arm/kernel/signal.h
+++ b/arch/arm/kernel/signal.h
@@ -8,5 +8,7 @@
* published by the Free Software Foundation.
*/
#define KERN_SIGRETURN_CODE (CONFIG_VECTORS_BASE + 0x00000500)
+#define KERN_RESTART_CODE (KERN_SIGRETURN_CODE + sizeof(sigreturn_codes))
extern const unsigned long sigreturn_codes[7];
+extern const unsigned long syscall_restart_code[2];
OpenPOWER on IntegriCloud