diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-06 21:29:00 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-02-16 14:37:06 +0000 |
commit | c587e4a6a4d808fd2a1c4e7fb2d5a3a31e300d23 (patch) | |
tree | 77af76e34786ad795e5df625915fc58bca1a9abc /arch/arm/kernel/calls.S | |
parent | 3b581f5485c180016a6c36c4c7007e21c53f8a63 (diff) | |
download | kernel_samsung_smdk4412-c587e4a6a4d808fd2a1c4e7fb2d5a3a31e300d23.zip kernel_samsung_smdk4412-c587e4a6a4d808fd2a1c4e7fb2d5a3a31e300d23.tar.gz kernel_samsung_smdk4412-c587e4a6a4d808fd2a1c4e7fb2d5a3a31e300d23.tar.bz2 |
[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.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index f7598cb..ae89cdd 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 |