projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea9211
)
xen: don't reload cr3 on suspend
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Wed, 15 Oct 2008 00:50:40 +0000
(17:50 -0700)
committer
Ingo Molnar
<mingo@elte.hu>
Thu, 23 Oct 2008 19:54:35 +0000
(21:54 +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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/xen/manage.c
b/drivers/xen/manage.c
index d0e87cbe157ca5e4634151f8d997e9d66fb66ebc..9b91617b9582d320b67ce6c1984663d48659e03d 100644
(file)
--- 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",