diff options
Diffstat (limited to 'sysutils/mcelog/files/patch-mcelog.h')
-rw-r--r-- | sysutils/mcelog/files/patch-mcelog.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sysutils/mcelog/files/patch-mcelog.h b/sysutils/mcelog/files/patch-mcelog.h index 7315be854410..a6008264aa1e 100644 --- a/sysutils/mcelog/files/patch-mcelog.h +++ b/sysutils/mcelog/files/patch-mcelog.h @@ -1,19 +1,20 @@ ---- ./mcelog.h.orig 2009-12-15 07:18:40.000000000 -0500 -+++ ./mcelog.h 2011-10-14 22:37:06.000000000 -0400 -@@ -64,9 +64,11 @@ - #define MCI_STATUS_ADDRV (1ULL<<58) /* addr reg. valid */ - #define MCI_STATUS_PCC (1ULL<<57) /* processor context corrupt */ +--- mcelog.h.orig 2016-02-10 18:38:43 UTC ++++ mcelog.h +@@ -67,10 +67,12 @@ struct mce { + #define MCI_STATUS_AR (1ULL<<55) /* action-required */ + #define MCI_STATUS_FWST (1ULL<<37) /* Firmware updated status indicator */ +#ifndef MCG_STATUS_RIPV #define MCG_STATUS_RIPV (1ULL<<0) /* restart ip valid */ #define MCG_STATUS_EIPV (1ULL<<1) /* eip points to correct instruction */ #define MCG_STATUS_MCIP (1ULL<<2) /* machine check in progress */ + #define MCG_STATUS_LMCES (1ULL<<3) /* local machine check signaled */ +#endif #define MCG_CMCI_P (1ULL<<10) /* CMCI supported */ #define MCG_TES_P (1ULL<<11) /* Yellow bit cache threshold supported */ -@@ -89,6 +91,10 @@ - #define PRINTFLIKE +@@ -97,6 +99,10 @@ struct mce { + #define noreturn #endif +#if defined(__FreeBSD__) && defined(_STDIO_H_) |