Jan Beulich
2009-Sep-18 14:55 UTC
[Xen-devel] [PATCH] linux: force proper address translation in EDAC
Subject: force proper address translation in EDAC Signed-off-by: Jan Beulich <jbeulich@novell.com> --- 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@lists.xensource.com http://lists.xensource.com/xen-devel