WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Xen PM: Remove useless __sync_lazy_execst

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Xen PM: Remove useless __sync_lazy_execstate().
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2007 03:15:56 -0700
Delivery-date: Fri, 27 Jul 2007 03:13:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=