diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/ras.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/linux/ras.h b/include/linux/ras.h new file mode 100644 index 000000000000..2aceeafd6fe5 --- /dev/null +++ b/include/linux/ras.h | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | #ifndef __RAS_H__ | ||
| 2 | #define __RAS_H__ | ||
| 3 | |||
| 4 | #ifdef CONFIG_DEBUG_FS | ||
| 5 | int ras_userspace_consumers(void); | ||
| 6 | void ras_debugfs_init(void); | ||
| 7 | int ras_add_daemon_trace(void); | ||
| 8 | #else | ||
| 9 | static inline int ras_userspace_consumers(void) { return 0; } | ||
| 10 | static inline void ras_debugfs_init(void) { return; } | ||
| 11 | static inline int ras_add_daemon_trace(void) { return 0; } | ||
| 12 | #endif | ||
| 13 | |||
| 14 | #endif | ||
