[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <ec2a7259b60569d0cf73.1224031840@abulafia.goop.org>
Date: Tue, 14 Oct 2008 17:50:40 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: linux-kernel@...r.kernel.org,
Isaku Yamahata <yamahata@...inux.co.jp>
Subject: [PATCH 1 of 5] 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@...rix.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) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists