|
|
@@ -376,6 +376,7 @@ struct smca_bank {
|
|
|
extern struct smca_bank smca_banks[MAX_NR_BANKS];
|
|
|
|
|
|
extern const char *smca_get_long_name(enum smca_bank_types t);
|
|
|
+extern bool amd_mce_is_memory_error(struct mce *m);
|
|
|
|
|
|
extern int mce_threshold_create_device(unsigned int cpu);
|
|
|
extern int mce_threshold_remove_device(unsigned int cpu);
|
|
|
@@ -384,6 +385,7 @@ extern int mce_threshold_remove_device(unsigned int cpu);
|
|
|
|
|
|
static inline int mce_threshold_create_device(unsigned int cpu) { return 0; };
|
|
|
static inline int mce_threshold_remove_device(unsigned int cpu) { return 0; };
|
|
|
+static inline bool amd_mce_is_memory_error(struct mce *m) { return false; };
|
|
|
|
|
|
#endif
|
|
|
|