|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [linux x86_64] Disable smp alternatives.
# 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 <=
|
|
|
|
|