diff options
author | Will Deacon <will.deacon@arm.com> | 2012-07-04 18:16:30 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-07-05 09:50:56 +0100 |
commit | 3b0c06226783ffc836217eb34f7eca311b1e63f7 (patch) | |
tree | 5011996479e951a152d704c12bb9613ce8a95fd3 /arch/arm/kernel/signal.h | |
parent | 82401bf105495c593544375b4748f48fce70d9c4 (diff) | |
download | op-kernel-dev-3b0c06226783ffc836217eb34f7eca311b1e63f7.zip op-kernel-dev-3b0c06226783ffc836217eb34f7eca311b1e63f7.tar.gz |
ARM: 7442/1: Revert "remove unused restart trampoline"
This reverts commit fa18484d0947b976a769d15c83c50617493c81c1.
We need the restart trampoline back so that we can revert a related
problematic patch 6b5c8045ecc7e726cdaa2a9d9c8e5008050e1252 ("arm: new
way of handling ERESTART_RESTARTBLOCK").
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
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 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/kernel/signal.h b/arch/arm/kernel/signal.h index 5ff067b7..6fcfe83 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]; |