EDAC, MCE: Add a BIT_64() macro
Add a macro for 64-bit vectors to use when accessing MSR contents. Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
This commit is contained in:
parent
fda7561f43
commit
cf1d2200db
|
@ -5,6 +5,8 @@
|
|||
|
||||
#include <asm/mce.h>
|
||||
|
||||
#define BIT_64(n) (U64_C(1) << (n))
|
||||
|
||||
#define ERROR_CODE(x) ((x) & 0xffff)
|
||||
#define EXT_ERROR_CODE(x) (((x) >> 16) & 0x1f)
|
||||
|
||||
|
|
Loading…
Reference in New Issue