2 * SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments,
3 struct kexec_segment __user *, segments, unsigned long, flags)
6 #define KEXEC_ON_CRASH 0x00000001
7 #define KEXEC_PRESERVE_CONTEXT 0x00000002
11 struct syscallentry syscall_kexec_load
= {
14 .flags
= CAPABILITY_CHECK
,
16 .arg1type
= ARG_ADDRESS
,
17 .arg2name
= "nr_segments",
19 .arg3name
= "segments",
20 .arg3type
= ARG_ADDRESS
,
25 .values
= { KEXEC_ON_CRASH
, KEXEC_PRESERVE_CONTEXT
},