Commit cf1d2200 authored by Borislav Petkov's avatar Borislav Petkov Committed by Borislav Petkov

EDAC, MCE: Add a BIT_64() macro

Add a macro for 64-bit vectors to use when accessing MSR contents.
Signed-off-by: default avatarBorislav Petkov <borislav.petkov@amd.com>
parent fda7561f
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment