[PATCH 1 of 5] xen: don't reload cr3 on suspend

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeremy Fitzhardinge
Date: Tuesday, October 14, 2008 - 5:50 pm

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

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
 drivers/xen/manage.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c
--- a/drivers/xen/manage.c
+++ b/drivers/xen/manage.c
@@ -38,8 +38,6 @@
 	int err;
 
 	BUG_ON(!irqs_disabled());
-
-	load_cr3(swapper_pg_dir);
 
 	err = device_power_down(PMSG_SUSPEND);
 	if (err) {


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0 of 5] xen: fix some things which make ia64 upset, Jeremy Fitzhardinge, (Tue Oct 14, 5:50 pm)
[PATCH 1 of 5] xen: don't reload cr3 on suspend, Jeremy Fitzhardinge, (Tue Oct 14, 5:50 pm)
[PATCH 2 of 5] xen: portability clean up and some minor cl ..., Jeremy Fitzhardinge, (Tue Oct 14, 5:50 pm)
[PATCH 3 of 5] xen-netfront: Avoid unaligned accesses to I ..., Jeremy Fitzhardinge, (Tue Oct 14, 5:50 pm)
[PATCH 4 of 5] xen: compilation fix fo xen CPU hotplugging, Jeremy Fitzhardinge, (Tue Oct 14, 5:50 pm)
[PATCH 5 of 5] xen: compilation fix of drivers/xen/events. ..., Jeremy Fitzhardinge, (Tue Oct 14, 5:50 pm)