diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-05-19 02:36:34 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-19 02:36:34 -0700 |
| commit | c450028fe381974610696ee80dcc1d78edbb7344 (patch) | |
| tree | 7cf136383ed0dee3a3ae01fb015beaef28dd32d6 /include/linux/syscalls.h | |
| parent | d06d15d2cdd3920665cef5cc2246342e8593d526 (diff) | |
[PATCH] reserve syscall slots for kexec
From: "Randy.Dunlap" <rddunlap@osdl.org>
kexec is a fairly major and popular feature. People are shipping it in
products, although it is not known if Linux distributors plan to ship it.
The patch reserves the kexec syscall slots to pin the ABI down for
everyone.
- add kexec_load prototype to syscalls.h
- add LINUX_REBOOT_CMD_KEXEC to reboot.h
- add kexec_load syscall for ia32, ia64, x86_64, ppc32, ppc64
Diffstat (limited to 'include/linux/syscalls.h')
| -rw-r--r-- | include/linux/syscalls.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h index 89ffe55898f2..f230a43caf37 100644 --- a/include/linux/syscalls.h +++ b/include/linux/syscalls.h @@ -19,6 +19,7 @@ struct io_event; struct iovec; struct itimerspec; struct itimerval; +struct kexec_segment; struct linux_dirent; struct linux_dirent64; struct list_head; @@ -154,6 +155,8 @@ 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_exit(int error_code); asmlinkage void sys_exit_group(int error_code); |
