summaryrefslogtreecommitdiff
path: root/arch/arm/kernel/calls.S
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-02-06 21:29:00 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-16 14:37:06 +0000
commitc587e4a6a4d808fd2a1c4e7fb2d5a3a31e300d23 (patch)
tree77af76e34786ad795e5df625915fc58bca1a9abc /arch/arm/kernel/calls.S
parent3b581f5485c180016a6c36c4c7007e21c53f8a63 (diff)
[ARM] 4137/1: Add kexec support
Add kexec support to ARM. Improvements like commandline handling could be made but this patch gives basic functional support. It uses the next available syscall number, 347. Once the syscall number is known, userspace support will be finalised/submitted to kexec-tools, various patches already exist. Originally based on a patch by Maxim Syrchin but updated and forward ported by various people. Signed-off-by: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/kernel/calls.S')
-rw-r--r--arch/arm/kernel/calls.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S
index f7598cbc7ec5..ae89cdd82b16 100644
--- a/arch/arm/kernel/calls.S
+++ b/arch/arm/kernel/calls.S
@@ -356,6 +356,7 @@
CALL(sys_move_pages)
/* 345 */ CALL(sys_getcpu)
CALL(sys_ni_syscall) /* eventually epoll_pwait */
+ CALL(sys_kexec_load)
#ifndef syscalls_counted
.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
#define syscalls_counted