|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Xen PM: Remove useless __sync_lazy_execst
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1184924491 -3600
# Node ID 8e2d43396306f7bb55e4187a78cbd67d567813ee
# Parent ae672309bb95c2d9fb7d6898bbbfbc72ade0a811
Xen PM: Remove useless __sync_lazy_execstate().
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
xen/arch/x86/acpi/power.c | 3 ---
xen/arch/x86/acpi/suspend.c | 1 +
2 files changed, 1 insertion(+), 3 deletions(-)
diff -r ae672309bb95 -r 8e2d43396306 xen/arch/x86/acpi/power.c
--- a/xen/arch/x86/acpi/power.c Fri Jul 20 10:38:51 2007 +0100
+++ b/xen/arch/x86/acpi/power.c Fri Jul 20 10:41:31 2007 +0100
@@ -119,9 +119,6 @@ static int enter_state(u32 state)
if ( (state <= ACPI_STATE_S0) || (state > ACPI_S_STATES_MAX) )
return -EINVAL;
- __sync_lazy_execstate();
- pmprintk(XENLOG_INFO, "Flush lazy state\n");
-
if ( !spin_trylock(&pm_lock) )
return -EBUSY;
diff -r ae672309bb95 -r 8e2d43396306 xen/arch/x86/acpi/suspend.c
--- a/xen/arch/x86/acpi/suspend.c Fri Jul 20 10:38:51 2007 +0100
+++ b/xen/arch/x86/acpi/suspend.c Fri Jul 20 10:41:31 2007 +0100
@@ -38,6 +38,7 @@ void restore_rest_processor_state(void)
struct tss_struct *t = &init_tss[cpu];
struct vcpu *v = current;
+ /* Rewriting the TSS desc is necessary to clear the Busy flag. */
set_tss_desc(cpu, t);
load_TR(cpu);
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Xen PM: Remove useless __sync_lazy_execstate().,
Xen patchbot-unstable <=
|
|
|
|
|