diff options
Diffstat (limited to 'include/linux/ras.h')
-rw-r--r-- | include/linux/ras.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/ras.h b/include/linux/ras.h index ffb147185e8d..62fac3042dce 100644 --- a/include/linux/ras.h +++ b/include/linux/ras.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define __RAS_H__ | 2 | #define __RAS_H__ |
3 | 3 | ||
4 | #include <asm/errno.h> | 4 | #include <asm/errno.h> |
5 | #include <linux/uuid.h> | ||
5 | 6 | ||
6 | #ifdef CONFIG_DEBUG_FS | 7 | #ifdef CONFIG_DEBUG_FS |
7 | int ras_userspace_consumers(void); | 8 | int ras_userspace_consumers(void); |
@@ -22,4 +23,15 @@ static inline void __init cec_init(void) { } | |||
22 | static inline int cec_add_elem(u64 pfn) { return -ENODEV; } | 23 | static inline int cec_add_elem(u64 pfn) { return -ENODEV; } |
23 | #endif | 24 | #endif |
24 | 25 | ||
26 | #ifdef CONFIG_RAS | ||
27 | void log_non_standard_event(const guid_t *sec_type, | ||
28 | const guid_t *fru_id, const char *fru_text, | ||
29 | const u8 sev, const u8 *err, const u32 len); | ||
30 | #else | ||
31 | static void log_non_standard_event(const guid_t *sec_type, | ||
32 | const guid_t *fru_id, const char *fru_text, | ||
33 | const u8 sev, const u8 *err, | ||
34 | const u32 len) { return; } | ||
35 | #endif | ||
36 | |||
25 | #endif /* __RAS_H__ */ | 37 | #endif /* __RAS_H__ */ |