diff options
author | Dave Jiang <djiang@mvista.com> | 2007-07-19 04:49:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-19 13:04:54 -0400 |
commit | 81d87cb13e367bb804bf44889ae0de7369705d6c (patch) | |
tree | 1c135cb57d92ae3baf2b3308f01fb548ab39f644 /drivers/edac/edac_module.h | |
parent | 535c6a53035d8911f6b90455550c5fde0da7b866 (diff) |
drivers/edac: mod MC to use workq instead of kthread
Move the memory controller object to work queue based implementation from the
kernel thread based.
Signed-off-by: Dave Jiang <djiang@mvista.com>
Signed-off-by: Douglas Thompson <dougthompson@xmission.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 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/edac/edac_module.h b/drivers/edac/edac_module.h index 2758d03c3e03..22c52e43131d 100644 --- a/drivers/edac/edac_module.h +++ b/drivers/edac/edac_module.h | |||
@@ -28,6 +28,7 @@ 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_get_poll_msec(void); | 30 | extern int edac_get_poll_msec(void); |
31 | extern int edac_mc_get_poll_msec(void); | ||
31 | 32 | ||
32 | extern int edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev); | 33 | extern int edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev); |
33 | extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev); | 34 | extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev); |
@@ -35,9 +36,9 @@ extern struct sysdev_class *edac_get_edac_class(void); | |||
35 | 36 | ||
36 | /* edac core workqueue: single CPU mode */ | 37 | /* edac core workqueue: single CPU mode */ |
37 | extern struct workqueue_struct *edac_workqueue; | 38 | extern struct workqueue_struct *edac_workqueue; |
38 | extern void edac_workq_setup(struct edac_device_ctl_info *edac_dev, | 39 | extern void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, |
39 | unsigned msec); | 40 | unsigned msec); |
40 | extern void edac_workq_teardown(struct edac_device_ctl_info *edac_dev); | 41 | extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); |
41 | extern void edac_device_reset_delay_period( | 42 | extern void edac_device_reset_delay_period( |
42 | struct edac_device_ctl_info *edac_dev, | 43 | struct edac_device_ctl_info *edac_dev, |
43 | unsigned long value); | 44 | unsigned long value); |