From: Jeremy Fitzhardinge Date: Wed, 15 Oct 2008 00:50:40 +0000 (-0700) Subject: xen: don't reload cr3 on suspend X-Git-Tag: v2.6.28-rc3~88^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=ed6e5e507e4752c3fb1090d0601f46e7a78c860e;p=linux-2.6-omap-h63xx.git xen: don't reload cr3 on suspend It isn't necessary, and it makes the code needlessly non-portable. Signed-off-by: Jeremy Fitzhardinge Cc: Isaku Yamahata Signed-off-by: Ingo Molnar --- diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index d0e87cbe157..9b91617b958 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c @@ -39,8 +39,6 @@ static int xen_suspend(void *data) BUG_ON(!irqs_disabled()); - load_cr3(swapper_pg_dir); - err = device_power_down(PMSG_SUSPEND); if (err) { printk(KERN_ERR "xen_suspend: device_power_down failed: %d\n",