remove unused syscall flag
[trinity.git] / syscalls / kexec_load.c
blobbb8dbedd57dd18a06b34b9c0dad678543101bd22
1 /*
2 * SYSCALL_DEFINE4(kexec_load, unsigned long, entry, unsigned long, nr_segments,
3 struct kexec_segment __user *, segments, unsigned long, flags)
4 */
6 #define KEXEC_ON_CRASH 0x00000001
7 #define KEXEC_PRESERVE_CONTEXT 0x00000002
9 #include "sanitise.h"
11 struct syscallentry syscall_kexec_load = {
12 .name = "kexec_load",
13 .num_args = 4,
14 .arg1name = "entry",
15 .arg1type = ARG_ADDRESS,
16 .arg2name = "nr_segments",
17 .arg2type = ARG_LEN,
18 .arg3name = "segments",
19 .arg3type = ARG_ADDRESS,
20 .arg4name = "flags",
21 .arg4type = ARG_LIST,
22 .arg4list = {
23 .num = 2,
24 .values = { KEXEC_ON_CRASH, KEXEC_PRESERVE_CONTEXT },