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

[Xen-devel] [PATCH] linux: force proper address translation in EDAC



Subject: force proper address translation in EDAC

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- head-2009-09-11.orig/drivers/edac/edac_mc.c 2009-06-10 05:05:27.000000000 
+0200
+++ head-2009-09-11/drivers/edac/edac_mc.c      2009-09-18 11:38:11.000000000 
+0200
@@ -1480,6 +1480,10 @@ static void edac_mc_scrub_block(unsigned
 
        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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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