[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xen/edac: force proper address translation in EDAC



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1253603019 -3600
# Node ID eebccbc294dad786b2b14892bf1e60d0034f8f0d
# Parent  f1a207ccb4934787a18e37458162232fd4ede6d1
xen/edac: force proper address translation in EDAC

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/edac/edac_mc.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r f1a207ccb493 -r eebccbc294da drivers/edac/edac_mc.c
--- a/drivers/edac/edac_mc.c    Sun Aug 30 08:54:15 2009 +0100
+++ b/drivers/edac/edac_mc.c    Tue Sep 22 08:03:39 2009 +0100
@@ -1491,6 +1491,10 @@ void edac_mc_scrub_block(unsigned long p
 
        debugf3("%s()\n", __func__);
 
+#ifdef CONFIG_XEN
+       page = mfn_to_local_pfn(page);
+#endif
+
        /* ECC error page was not in our memory. Ignore it. */
        if(!pfn_valid(page))
                return;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.