aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac/edac_device.c
diff options
context:
space:
mode:
authorDoug Thompson <dougthompson@xmission.com>2008-02-07 03:14:51 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-07 11:42:23 -0500
commit56e61a9c5fe7b799504b125c278b56cc2c42670f (patch)
tree77074d210cd4206d8896061de51e6da2ae8f8099 /drivers/edac/edac_device.c
parentfa9ff4b185b8f7f124c1c6686f02e690f0625287 (diff)
drivers-edac: turn on edac device error logging
ENABLE the 'logging' of CE and UE events for the EDAC_DEVICE class of error harvester in EDAC Cc: Alan Cox <alan@lxorguk.ukuu.org.uk Signed-off-by: Doug 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_device.c')
-rw-r--r--drivers/edac/edac_device.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c
index f3690a697cf9..55d14d008dd6 100644
--- a/drivers/edac/edac_device.c
+++ b/drivers/edac/edac_device.c
@@ -155,6 +155,10 @@ struct edac_device_ctl_info *edac_device_alloc_ctl_info(
155 dev_ctl->instances = dev_inst; 155 dev_ctl->instances = dev_inst;
156 dev_ctl->pvt_info = pvt; 156 dev_ctl->pvt_info = pvt;
157 157
158 /* Default logging of CEs and UEs */
159 dev_ctl->log_ce = 1;
160 dev_ctl->log_ue = 1;
161
158 /* Name of this edac device */ 162 /* Name of this edac device */
159 snprintf(dev_ctl->name,sizeof(dev_ctl->name),"%s",edac_device_name); 163 snprintf(dev_ctl->name,sizeof(dev_ctl->name),"%s",edac_device_name);
160 164