diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-10-15 02:50:40 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-23 21:54:35 +0200 |
commit | ed6e5e507e4752c3fb1090d0601f46e7a78c860e (patch) | |
tree | a3eb41155b6fed9f56b6ba97fc616069601cce8d /drivers/xen/manage.c | |
parent | kernel/resource: fix reserve_region_with_split() section mismatch (diff) | |
download | linux-ed6e5e507e4752c3fb1090d0601f46e7a78c860e.tar.xz linux-ed6e5e507e4752c3fb1090d0601f46e7a78c860e.zip |
xen: don't reload cr3 on suspend
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>
Diffstat (limited to 'drivers/xen/manage.c')
-rw-r--r-- | drivers/xen/manage.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index d0e87cbe157c..9b91617b9582 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", |