diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-22 20:26:05 +0100 |
---|---|---|
committer | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2005-06-22 20:26:05 +0100 |
commit | e00d349e7781a92cf35b242259c9e5341a9661bb (patch) | |
tree | cd7e9d10adb8bc3b18c20c3d925c64b4c6f3f3b0 /arch/arm/kernel/signal.h | |
parent | 052162198b89e64d37c20238412674152d614997 (diff) | |
download | blackbird-obmc-linux-e00d349e7781a92cf35b242259c9e5341a9661bb.tar.gz blackbird-obmc-linux-e00d349e7781a92cf35b242259c9e5341a9661bb.zip |
[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.h | 12 |
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 000000000000..91d26faca62b --- /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]; |