diff options
author | zhenwei pi <pizhenwei@bytedance.com> | 2020-01-02 03:35:12 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-14 15:07:37 +0100 |
commit | e0b9a42735f2672ca2764cfbea6e55a81098d5ba (patch) | |
tree | b324cf9d480d48341f6357a237887d90c04b3a7e /drivers/misc | |
parent | misc: rtsx: Fix impossible condition (diff) | |
download | linux-e0b9a42735f2672ca2764cfbea6e55a81098d5ba.tar.xz 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 'drivers/misc')
-rw-r--r-- | drivers/misc/pvpanic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/pvpanic.c b/drivers/misc/pvpanic.c index 95ff7c5a1dfb..3f0de3be0a19 100644 --- a/drivers/misc/pvpanic.c +++ b/drivers/misc/pvpanic.c @@ -15,11 +15,10 @@ #include <linux/of_address.h> #include <linux/platform_device.h> #include <linux/types.h> +#include <uapi/misc/pvpanic.h> static void __iomem *base; -#define PVPANIC_PANICKED (1 << 0) - MODULE_AUTHOR("Hu Tao <hutao@cn.fujitsu.com>"); MODULE_DESCRIPTION("pvpanic device driver"); MODULE_LICENSE("GPL"); |