aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2015-08-12 12:29:33 -0400
committerIngo Molnar <mingo@kernel.org>2015-08-13 04:12:50 -0400
commit20d51a426fe9a0d0a63cc3a7488f621c8bac37e1 (patch)
tree332735f749c32190d5e78a2633abbf3de33a084b /arch
parent58ccab91342c1cc1fe08da9b198ac5d763706c2e (diff)
x86/mce: Reuse one of the u16 padding fields in 'struct mce'
... to save the error severity of the MCE and whether the reported address of the error is usable. Signed-off-by: Borislav Petkov <bp@suse.de> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Tony Luck <tony.luck@intel.com> Link: http://lkml.kernel.org/r/1439396985-12812-2-git-send-email-bp@alien8.de Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/uapi/asm/mce.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/uapi/asm/mce.h b/arch/x86/include/uapi/asm/mce.h
index a0eab85ce7b8..76880ede9a35 100644
--- a/arch/x86/include/uapi/asm/mce.h
+++ b/arch/x86/include/uapi/asm/mce.h
@@ -15,7 +15,8 @@ struct mce {
15 __u64 time; /* wall time_t when error was detected */ 15 __u64 time; /* wall time_t when error was detected */
16 __u8 cpuvendor; /* cpu vendor as encoded in system.h */ 16 __u8 cpuvendor; /* cpu vendor as encoded in system.h */
17 __u8 inject_flags; /* software inject flags */ 17 __u8 inject_flags; /* software inject flags */
18 __u16 pad; 18 __u8 severity;
19 __u8 usable_addr;
19 __u32 cpuid; /* CPUID 1 EAX */ 20 __u32 cpuid; /* CPUID 1 EAX */
20 __u8 cs; /* code segment */ 21 __u8 cs; /* code segment */
21 __u8 bank; /* machine check bank */ 22 __u8 bank; /* machine check bank */