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] [linux-2.6.18-xen] xen, x86: Revert changes to use non-e

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] xen, x86: Revert changes to use non-existent xen_halt() function.
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 23 Jan 2008 01:11:41 -0800
Delivery-date: Wed, 23 Jan 2008 01:18:39 -0800
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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201038764 0
# Node ID 947e0701cf7aecce9e1b391f5dadbb5024e48e12
# Parent  fcb425c038efcbbe9af0cbc279ed4101b7b4276b
xen, x86: Revert changes to use non-existent xen_halt() function.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 arch/i386/kernel/process-xen.c   |    3 ++-
 arch/x86_64/kernel/process-xen.c |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff -r fcb425c038ef -r 947e0701cf7a arch/i386/kernel/process-xen.c
--- a/arch/i386/kernel/process-xen.c    Tue Jan 22 19:48:26 2008 +0000
+++ b/arch/i386/kernel/process-xen.c    Tue Jan 22 21:52:44 2008 +0000
@@ -137,7 +137,8 @@ static inline void play_dead(void)
        idle_task_exit();
        local_irq_disable();
        cpu_clear(smp_processor_id(), cpu_initialized);
-       xen_halt();
+       preempt_enable_no_resched();
+       VOID(HYPERVISOR_vcpu_op(VCPUOP_down, smp_processor_id(), NULL));
        cpu_bringup();
 }
 #else
diff -r fcb425c038ef -r 947e0701cf7a arch/x86_64/kernel/process-xen.c
--- a/arch/x86_64/kernel/process-xen.c  Tue Jan 22 19:48:26 2008 +0000
+++ b/arch/x86_64/kernel/process-xen.c  Tue Jan 22 21:52:44 2008 +0000
@@ -151,7 +151,8 @@ static inline void play_dead(void)
        idle_task_exit();
        local_irq_disable();
        cpu_clear(smp_processor_id(), cpu_initialized);
-       xen_halt();
+       preempt_enable_no_resched();
+       VOID(HYPERVISOR_vcpu_op(VCPUOP_down, smp_processor_id(), NULL));
        cpu_bringup();
 }
 #else

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] xen, x86: Revert changes to use non-existent xen_halt() function., Xen patchbot-linux-2.6.18-xen <=