xen: don't reload cr3 on suspend

It isn't necessary, and it makes the code needlessly non-portable.

Signed-off-by: Jeremy Fitzhardinge <[email protected]>
Cc: Isaku Yamahata <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
Jeremy Fitzhardinge 2008-10-14 17:50:40 -07:00 • committed by Ingo Molnar
commit ed6e5e507e

View file

@ -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",