summaryrefslogtreecommitdiff
path: root/include/uapi/linux/kexec.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2014-07-31 20:26:43 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2014-07-31 20:26:43 +1000
commit86c8194e090c87192ef05e0fa249fe36e68651be (patch)
tree18b44429fe55c919f0748363061c701f2df65a5a /include/uapi/linux/kexec.h
parentad713bcfd1987df2c2e6f040a8da9c86b7b6db32 (diff)
parentdf2802f340aef66b6b9580cebd8f41f59ff3261c (diff)
Merge branch 'akpm/master'
Diffstat (limited to 'include/uapi/linux/kexec.h')
-rw-r--r--include/uapi/linux/kexec.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/uapi/linux/kexec.h b/include/uapi/linux/kexec.h
index d6629d49a243..6925f5b42f89 100644
--- a/include/uapi/linux/kexec.h
+++ b/include/uapi/linux/kexec.h
@@ -13,6 +13,17 @@
#define KEXEC_PRESERVE_CONTEXT 0x00000002
#define KEXEC_ARCH_MASK 0xffff0000
+/*
+ * Kexec file load interface flags.
+ * KEXEC_FILE_UNLOAD : Unload already loaded kexec/kdump image.
+ * KEXEC_FILE_ON_CRASH : Load/unload operation belongs to kdump image.
+ * KEXEC_FILE_NO_INITRAMFS : No initramfs is being loaded. Ignore the initrd
+ * fd field.
+ */
+#define KEXEC_FILE_UNLOAD 0x00000001
+#define KEXEC_FILE_ON_CRASH 0x00000002
+#define KEXEC_FILE_NO_INITRAMFS 0x00000004
+
/* These values match the ELF architecture values.
* Unless there is a good reason that should continue to be the case.
*/