summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/signal.h
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-22 20:26:05 +0100
committerRussell King <rmk@dyn-67.arm.linux.org.uk>2005-06-22 20:26:05 +0100
commite00d349e7781a92cf35b242259c9e5341a9661bb (patch)
treecd7e9d10adb8bc3b18c20c3d925c64b4c6f3f3b0 /arch/arm/kernel/signal.h
parent052162198b89e64d37c20238412674152d614997 (diff)
downloadop-kernel-dev-e00d349e7781a92cf35b242259c9e5341a9661bb.zip
op-kernel-dev-e00d349e7781a92cf35b242259c9e5341a9661bb.tar.gz
[PATCH] ARM: Move signal return code into vector page
Move the signal return code into the vector page instead of placing it on the user mode stack, which will allow us to avoid flushing the instruction cache on signals, as well as eventually allowing non-exec stack. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/signal.h')
-rw-r--r--arch/arm/kernel/signal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/kernel/signal.h b/arch/arm/kernel/signal.h
new file mode 100644
index 0000000..91d26fa
--- /dev/null
+++ b/arch/arm/kernel/signal.h
@@ -0,0 +1,12 @@
+/*
+ * linux/arch/arm/kernel/signal.h
+ *
+ * Copyright (C) 2005 Russell King.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+#define KERN_SIGRETURN_CODE 0xffff0500
+
+extern const unsigned long sigreturn_codes[4];
OpenPOWER on IntegriCloud