diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-10-14 17:50:40 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-23 21:54:35 +0200 |
commit | ed6e5e507e4752c3fb1090d0601f46e7a78c860e (patch) | |
tree | a3eb41155b6fed9f56b6ba97fc616069601cce8d /drivers/xen/manage.c | |
parent | bea92112415635ecb7e681355834413c7c048f67 (diff) | |
download | kernel_samsung_aries-ed6e5e507e4752c3fb1090d0601f46e7a78c860e.zip kernel_samsung_aries-ed6e5e507e4752c3fb1090d0601f46e7a78c860e.tar.gz kernel_samsung_aries-ed6e5e507e4752c3fb1090d0601f46e7a78c860e.tar.bz2 |
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 d0e87cb..9b91617 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", |