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
= {
15 .arg1type
= ARG_ADDRESS
,
16 .arg2name
= "nr_segments",
18 .arg3name
= "segments",
19 .arg3type
= ARG_ADDRESS
,
24 .values
= { KEXEC_ON_CRASH
, KEXEC_PRESERVE_CONTEXT
},