mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
misc/pvpanic: use bit macros
The macros are easier to read. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/lkml/2023110407-unselect-uptight-b96d@gregkh/ Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Link: https://lore.kernel.org/r/20240313-pvpanic-shutdown-header-v1-1-7f1970d66366@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d3eb521378
commit
0433278752
1 changed files with 4 additions and 2 deletions
|
@ -3,7 +3,9 @@
|
|||
#ifndef __PVPANIC_H__
|
||||
#define __PVPANIC_H__
|
||||
|
||||
#define PVPANIC_PANICKED (1 << 0)
|
||||
#define PVPANIC_CRASH_LOADED (1 << 1)
|
||||
#include <linux/const.h>
|
||||
|
||||
#define PVPANIC_PANICKED _BITUL(0)
|
||||
#define PVPANIC_CRASH_LOADED _BITUL(1)
|
||||
|
||||
#endif /* __PVPANIC_H__ */
|
||||
|
|
Loading…
Reference in a new issue