aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_module.h
diff options
context:
space:
mode:
authorDave Jiang <djiang@mvista.com>2007-07-19 04:49:54 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-19 13:04:54 -0400
commit4de78c6877ec21142582ac19453c2d453d1ea298 (patch)
tree784a1e007bea40744b93d4e0a09131e107fb6522 /drivers/edac/edac_module.h
parent66ee2f940ac8ab25f0c43a1e717d25dc46bfe74d (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.h7
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);
27extern int edac_get_log_ue(void); 27extern int edac_get_log_ue(void);
28extern int edac_get_log_ce(void); 28extern int edac_get_log_ce(void);
29extern int edac_get_panic_on_ue(void); 29extern int edac_get_panic_on_ue(void);
30extern int edac_mc_get_log_ue(void);
31extern int edac_mc_get_log_ce(void);
32extern int edac_mc_get_panic_on_ue(void);
30extern int edac_get_poll_msec(void); 33extern int edac_get_poll_msec(void);
31extern int edac_mc_get_poll_msec(void); 34extern int edac_mc_get_poll_msec(void);
32 35
@@ -52,12 +55,16 @@ extern void edac_pci_do_parity_check(void);
52extern void edac_pci_clear_parity_errors(void); 55extern void edac_pci_clear_parity_errors(void);
53extern int edac_sysfs_pci_setup(void); 56extern int edac_sysfs_pci_setup(void);
54extern void edac_sysfs_pci_teardown(void); 57extern void edac_sysfs_pci_teardown(void);
58extern int edac_pci_get_check_errors(void);
59extern 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