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

From: Jeremy Fitzhardinge
Date: Tue Oct 14 2008 - 20:56:53 EST


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

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>
---
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) {


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/