misc: pvpanic: move bit definition to uapi header file
authorzhenwei pi <pizhenwei@bytedance.com>
Thu, 2 Jan 2020 02:35:12 +0000 (10:35 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jan 2020 14:07:37 +0000 (15:07 +0100)
commite0b9a42735f2672ca2764cfbea6e55a81098d5ba
treeb324cf9d480d48341f6357a237887d90c04b3a7e
parent4d6168314d4c504c240087ac22d1acc01dad3299
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>
drivers/misc/pvpanic.c
include/uapi/misc/pvpanic.h [new file with mode: 0644]