From: Doug Thompson Date: Thu, 7 Feb 2008 08:14:51 +0000 (-0800) Subject: drivers-edac: turn on edac device error logging X-Git-Tag: v2.6.25-rc1~423 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=56e61a9c5fe7b799504b125c278b56cc2c42670f;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/edac/edac_device.c b/drivers/edac/edac_device.c index f3690a697cf..55d14d008dd 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( dev_ctl->instances = dev_inst; dev_ctl->pvt_info = pvt; + /* Default logging of CEs and UEs */ + dev_ctl->log_ce = 1; + dev_ctl->log_ue = 1; + /* Name of this edac device */ snprintf(dev_ctl->name,sizeof(dev_ctl->name),"%s",edac_device_name);