diff options
author | Dave Jiang <djiang@mvista.com> | 2007-07-19 04:49:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:54 -0400 |
commit | 4de78c6877ec21142582ac19453c2d453d1ea298 (patch) | |
tree | 784a1e007bea40744b93d4e0a09131e107fb6522 /drivers/edac/edac_module.h | |
parent | 66ee2f940ac8ab25f0c43a1e717d25dc46bfe74d (diff) |
drivers/edac: mod PCI poll names
Fixup poll values for MC and PCI.
Also make mc function names unique to mc.
Signed-off-by: Dave Jiang <djiang@mvista.com>
Signed-off-by: Douglas Thompson <dougthompson@xmissin.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/edac/edac_module.h')
-rw-r--r-- | drivers/edac/edac_module.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h index 22c52e43131d..ffd25bdf87fc 100644 --- a/drivers/edac/edac_module.h +++ b/drivers/edac/edac_module.h | |||
@@ -27,6 +27,9 @@ extern void edac_check_mc_devices(void); | |||
27 | extern int edac_get_log_ue(void); | 27 | extern int edac_get_log_ue(void); |
28 | extern int edac_get_log_ce(void); | 28 | extern int edac_get_log_ce(void); |
29 | extern int edac_get_panic_on_ue(void); | 29 | extern int edac_get_panic_on_ue(void); |
30 | extern int edac_mc_get_log_ue(void); | ||
31 | extern int edac_mc_get_log_ce(void); | ||
32 | extern int edac_mc_get_panic_on_ue(void); | ||
30 | extern int edac_get_poll_msec(void); | 33 | extern int edac_get_poll_msec(void); |
31 | extern int edac_mc_get_poll_msec(void); | 34 | extern int edac_mc_get_poll_msec(void); |
32 | 35 | ||
@@ -52,12 +55,16 @@ extern void edac_pci_do_parity_check(void); | |||
52 | extern void edac_pci_clear_parity_errors(void); | 55 | extern void edac_pci_clear_parity_errors(void); |
53 | extern int edac_sysfs_pci_setup(void); | 56 | extern int edac_sysfs_pci_setup(void); |
54 | extern void edac_sysfs_pci_teardown(void); | 57 | extern void edac_sysfs_pci_teardown(void); |
58 | extern int edac_pci_get_check_errors(void); | ||
59 | extern int edac_pci_get_poll_msec(void); | ||
55 | #else /* CONFIG_PCI */ | 60 | #else /* CONFIG_PCI */ |
56 | /* pre-process these away */ | 61 | /* pre-process these away */ |
57 | #define edac_pci_do_parity_check() | 62 | #define edac_pci_do_parity_check() |
58 | #define edac_pci_clear_parity_errors() | 63 | #define edac_pci_clear_parity_errors() |
59 | #define edac_sysfs_pci_setup() (0) | 64 | #define edac_sysfs_pci_setup() (0) |
60 | #define edac_sysfs_pci_teardown() | 65 | #define edac_sysfs_pci_teardown() |
66 | #define edac_pci_get_check_errors() | ||
67 | #define edac_pci_get_poll_msec() | ||
61 | #endif /* CONFIG_PCI */ | 68 | #endif /* CONFIG_PCI */ |
62 | 69 | ||
63 | 70 | ||