xen: don't reload cr3 on suspend
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 15 Oct 2008 00:50:40 +0000 (17:50 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 22 Oct 2008 13:10:48 +0000 (15:10 +0200)
It isn't necessary, and it makes the code needlessly non-portable.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Cc: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/xen/manage.c

index d0e87cb..9b91617 100644 (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",