diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-03-22 19:46:57 +0300 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2018-04-02 21:16:15 +0300 |
commit | 1bec510a9ebf00baa1aa8751e4a5d88b54efb748 (patch) | |
tree | 0cca2a5d1c0818a2a5bda3a5fb1f97870c664f5f /include/linux/kexec.h | |
parent | 4c8ca51af730cce5cc5fdc7605f8aa20575c0731 (diff) | |
download | linux-1bec510a9ebf00baa1aa8751e4a5d88b54efb748.tar.xz |
kexec: move sys_kexec_load() prototype to syscalls.h
As the syscall function should only be called from the system call table
but not from elsewhere in the kernel, move the prototype for
sys_kexec_load() to include/syscall.h.
Cc: Eric Biederman <ebiederm@xmission.com>
Cc: kexec@lists.infradead.org
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/linux/kexec.h')
-rw-r--r-- | include/linux/kexec.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/kexec.h b/include/linux/kexec.h index f16f6ceb3875..0ebcbeb21056 100644 --- a/include/linux/kexec.h +++ b/include/linux/kexec.h @@ -223,10 +223,6 @@ struct kimage { extern void machine_kexec(struct kimage *image); extern int machine_kexec_prepare(struct kimage *image); extern void machine_kexec_cleanup(struct kimage *image); -extern asmlinkage long sys_kexec_load(unsigned long entry, - unsigned long nr_segments, - struct kexec_segment __user *segments, - unsigned long flags); extern int kernel_kexec(void); extern struct page *kimage_alloc_control_pages(struct kimage *image, unsigned int order); |