diff options
author | Eric W. Biederman | 2005-06-25 23:57:52 +0200 |
---|---|---|
committer | Linus Torvalds | 2005-06-26 01:24:48 +0200 |
commit | dc009d92435f99498cbc579ce76bf28e837e2c14 (patch) | |
tree | 2ba8732b28225593d996b8faa079dc6ab4bbc9bc /include/linux/syscalls.h | |
parent | [PATCH] kexec: x86_64: add CONFIG_PHYSICAL_START (diff) | |
download | kernel-qcow2-linux-dc009d92435f99498cbc579ce76bf28e837e2c14.tar.gz kernel-qcow2-linux-dc009d92435f99498cbc579ce76bf28e837e2c14.tar.xz kernel-qcow2-linux-dc009d92435f99498cbc579ce76bf28e837e2c14.zip |
[PATCH] kexec: add kexec syscalls
This patch introduces the architecture independent implementation the
sys_kexec_load, the compat_sys_kexec_load system calls.
Kexec on panic support has been integrated into the core patch and is
relatively clean.
In addition the hopefully architecture independent option
crashkernel=size@location has been docuemented. It's purpose is to reserve
space for the panic kernel to live, and where no DMA transfer will ever be
setup to access.
Signed-off-by: Eric Biederman <ebiederm@xmission.com>
Signed-off-by: Alexander Nyberg <alexn@telia.com>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/syscalls.h')
-rw-r--r-- | include/linux/syscalls.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index c39f6f72cbbc..7ba8f8f747aa 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -159,8 +159,9 @@ asmlinkage long sys_shutdown(int, int); asmlinkage long sys_reboot(int magic1, int magic2, unsigned int cmd, void __user *arg); asmlinkage long sys_restart_syscall(void); -asmlinkage long sys_kexec_load(void *entry, unsigned long nr_segments, - struct kexec_segment *segments, unsigned long flags); +asmlinkage long sys_kexec_load(unsigned long entry, + unsigned long nr_segments, struct kexec_segment __user *segments, + unsigned long flags); asmlinkage long sys_exit(int error_code); asmlinkage void sys_exit_group(int error_code); |