diff options
Diffstat (limited to 'drivers/edac/edac_module.h')
-rw-r--r-- | drivers/edac/edac_module.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h index a2134dfc3cc6..cbc419c8ebc1 100644 --- a/drivers/edac/edac_module.h +++ b/drivers/edac/edac_module.h | |||
@@ -52,6 +52,8 @@ extern void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, | |||
52 | extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); | 52 | extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); |
53 | extern void edac_device_reset_delay_period(struct edac_device_ctl_info | 53 | extern void edac_device_reset_delay_period(struct edac_device_ctl_info |
54 | *edac_dev, unsigned long value); | 54 | *edac_dev, unsigned long value); |
55 | extern void edac_mc_reset_delay_period(int value); | ||
56 | |||
55 | extern void *edac_align_ptr(void *ptr, unsigned size); | 57 | extern void *edac_align_ptr(void *ptr, unsigned size); |
56 | 58 | ||
57 | /* | 59 | /* |
@@ -64,6 +66,10 @@ extern int edac_sysfs_pci_setup(void); | |||
64 | extern void edac_sysfs_pci_teardown(void); | 66 | extern void edac_sysfs_pci_teardown(void); |
65 | extern int edac_pci_get_check_errors(void); | 67 | extern int edac_pci_get_check_errors(void); |
66 | extern int edac_pci_get_poll_msec(void); | 68 | extern int edac_pci_get_poll_msec(void); |
69 | extern void edac_pci_remove_sysfs(struct edac_pci_ctl_info *pci); | ||
70 | extern void edac_pci_handle_pe(struct edac_pci_ctl_info *pci, const char *msg); | ||
71 | extern void edac_pci_handle_npe(struct edac_pci_ctl_info *pci, | ||
72 | const char *msg); | ||
67 | #else /* CONFIG_PCI */ | 73 | #else /* CONFIG_PCI */ |
68 | /* pre-process these away */ | 74 | /* pre-process these away */ |
69 | #define edac_pci_do_parity_check() | 75 | #define edac_pci_do_parity_check() |
@@ -72,6 +78,8 @@ extern int edac_pci_get_poll_msec(void); | |||
72 | #define edac_sysfs_pci_teardown() | 78 | #define edac_sysfs_pci_teardown() |
73 | #define edac_pci_get_check_errors() | 79 | #define edac_pci_get_check_errors() |
74 | #define edac_pci_get_poll_msec() | 80 | #define edac_pci_get_poll_msec() |
81 | #define edac_pci_handle_pe() | ||
82 | #define edac_pci_handle_npe() | ||
75 | #endif /* CONFIG_PCI */ | 83 | #endif /* CONFIG_PCI */ |
76 | 84 | ||
77 | #endif /* __EDAC_MODULE_H__ */ | 85 | #endif /* __EDAC_MODULE_H__ */ |