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] [linux x86_64] Disable smp alternatives.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [linux x86_64] Disable smp alternatives.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Jan 2007 10:45:20 -0800
Delivery-date: Fri, 19 Jan 2007 10:46:15 -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 Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
# Date 1168615923 0
# Node ID 5babd90037b883bcc484ddd67176a197a419b291
# Parent  4fad820a2233e30960ff5aea75d19b23ac02b512
[linux x86_64] Disable smp alternatives.

Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/core/smpboot.c |    4 ++++
 1 files changed, 4 insertions(+)

diff -r 4fad820a2233 -r 5babd90037b8 
linux-2.6-xen-sparse/drivers/xen/core/smpboot.c
--- a/linux-2.6-xen-sparse/drivers/xen/core/smpboot.c   Fri Jan 12 14:30:49 
2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/core/smpboot.c   Fri Jan 12 15:32:03 
2007 +0000
@@ -392,8 +392,10 @@ void __cpu_die(unsigned int cpu)
 
        xen_smp_intr_exit(cpu);
 
+#if defined(__i386__)
        if (num_online_cpus() == 1)
                alternatives_smp_switch(0);
+#endif
 }
 
 #else /* !CONFIG_HOTPLUG_CPU */
@@ -418,8 +420,10 @@ int __devinit __cpu_up(unsigned int cpu)
        if (rc)
                return rc;
 
+#if defined(__i386__)
        if (num_online_cpus() == 1)
                alternatives_smp_switch(1);
+#endif
 
        /* This must be done before setting cpu_online_map */
        set_cpu_sibling_map(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] [linux x86_64] Disable smp alternatives., Xen patchbot-unstable <=