summaryrefslogtreecommitdiffstats
path: root/include/uapi/misc
diff options
context:
space:
mode:
authorzhenwei pi <pizhenwei@bytedance.com>2020-01-02 10:35:12 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-14 15:07:37 +0100
commite0b9a42735f2672ca2764cfbea6e55a81098d5ba (patch)
treeb324cf9d480d48341f6357a237887d90c04b3a7e /include/uapi/misc
parent4d6168314d4c504c240087ac22d1acc01dad3299 (diff)
downloadlinux-e0b9a42735f2672ca2764cfbea6e55a81098d5ba.tar.gz
linux-e0b9a42735f2672ca2764cfbea6e55a81098d5ba.tar.bz2
linux-e0b9a42735f2672ca2764cfbea6e55a81098d5ba.zip
misc: pvpanic: move bit definition to uapi header file
Some processes outside of the kernel(Ex, QEMU) should know what the value really is for, so move the bit definition to a uapi file. Suggested-by: Greg KH <gregkh@linuxfoundation.org> Signed-off-by: zhenwei pi <pizhenwei@bytedance.com> Link: https://lore.kernel.org/r/20200102023513.318836-2-pizhenwei@bytedance.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/misc')
-rw-r--r--include/uapi/misc/pvpanic.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/uapi/misc/pvpanic.h b/include/uapi/misc/pvpanic.h
new file mode 100644
index 000000000000..cae69a822b25
--- /dev/null
+++ b/include/uapi/misc/pvpanic.h
@@ -0,0 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+
+#ifndef __PVPANIC_H__
+#define __PVPANIC_H__
+
+#define PVPANIC_PANICKED (1 << 0)
+
+#endif /* __PVPANIC_H__ */