summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/traps.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-03 03:13:45 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-21 20:39:44 +0200
commitfa18484d0947b976a769d15c83c50617493c81c1 (patch)
tree09845575b951b585d236101e67073b3e9ed4fb16 /arch/arm/kernel/traps.c
parentarm: new way of handling ERESTART_RESTARTBLOCK (diff)
downloadlinux-fa18484d0947b976a769d15c83c50617493c81c1.tar.xz
linux-fa18484d0947b976a769d15c83c50617493c81c1.zip
arm: remove unused restart trampoline
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/traps.c')
-rw-r--r--arch/arm/kernel/traps.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index 778454750a6c..5aef330e9c54 100644
--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -819,8 +819,6 @@ void __init early_trap_init(void *vectors_base)
*/
memcpy((void *)(vectors + KERN_SIGRETURN_CODE - CONFIG_VECTORS_BASE),
sigreturn_codes, sizeof(sigreturn_codes));
- memcpy((void *)(vectors + KERN_RESTART_CODE - CONFIG_VECTORS_BASE),
- syscall_restart_code, sizeof(syscall_restart_code));
flush_icache_range(vectors, vectors + PAGE_SIZE);
modify_domain(DOMAIN_USER, DOMAIN_CLIENT);