mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 05:31:15 +00:00
[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>
This commit is contained in:
parent
d0537508a9
commit
dc009d9243
10 changed files with 1227 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue