summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/traps.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-05-02 21:13:45 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-05-21 14:39:44 -0400
commitfa18484d0947b976a769d15c83c50617493c81c1 (patch)
tree09845575b951b585d236101e67073b3e9ed4fb16 /arch/arm/kernel/traps.c
parent6b5c8045ecc7e726cdaa2a9d9c8e5008050e1252 (diff)
downloadop-kernel-dev-fa18484d0947b976a769d15c83c50617493c81c1.zip
op-kernel-dev-fa18484d0947b976a769d15c83c50617493c81c1.tar.gz
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 7784547..5aef330 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);
OpenPOWER on IntegriCloud