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] A little bit of SMP boot code cleanup

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] A little bit of SMP boot code cleanup
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Wed, 04 May 2011 16:50:14 +0100
Delivery-date: Wed, 04 May 2011 08:51:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Jan Beulich <jbeulich@xxxxxxxxxx>
# Date 1304241311 -3600
# Node ID 485b7c5e6f1719606be68cae3c413836f113cc56
# Parent  1ac7336b629840df31e5857ca0245142fb783f2a
A little bit of SMP boot code cleanup

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---


diff -r 1ac7336b6298 -r 485b7c5e6f17 xen/arch/ia64/linux-xen/smpboot.c
--- a/xen/arch/ia64/linux-xen/smpboot.c Sun May 01 10:14:15 2011 +0100
+++ b/xen/arch/ia64/linux-xen/smpboot.c Sun May 01 10:15:11 2011 +0100
@@ -770,7 +770,7 @@
 #endif /* CONFIG_HOTPLUG_CPU */
 
 void
-smp_cpus_done (unsigned int dummy)
+smp_cpus_done(void)
 {
        int cpu;
        unsigned long bogosum = 0;
diff -r 1ac7336b6298 -r 485b7c5e6f17 xen/arch/ia64/xen/xensetup.c
--- a/xen/arch/ia64/xen/xensetup.c      Sun May 01 10:14:15 2011 +0100
+++ b/xen/arch/ia64/xen/xensetup.c      Sun May 01 10:15:11 2011 +0100
@@ -615,7 +615,7 @@
     local_irq_disable();
 
     printk("Brought up %ld CPUs\n", (long)num_online_cpus());
-    smp_cpus_done(max_cpus);
+    smp_cpus_done();
 #endif
 
     iommu_setup();    /* setup iommu if available */
diff -r 1ac7336b6298 -r 485b7c5e6f17 xen/arch/x86/setup.c
--- a/xen/arch/x86/setup.c      Sun May 01 10:14:15 2011 +0100
+++ b/xen/arch/x86/setup.c      Sun May 01 10:15:11 2011 +0100
@@ -1226,9 +1226,8 @@
 
     /*
      * Initialise higher-level timer functions. We do this fairly late
-     * (post-SMP) because the time bases and scale factors need to be updated 
-     * regularly, and SMP initialisation can cause a long delay with 
-     * interrupts not yet enabled.
+     * (after interrupts got enabled) because the time bases and scale
+     * factors need to be updated regularly.
      */
     init_xen_time();
 
@@ -1254,7 +1253,7 @@
     }
 
     printk("Brought up %ld CPUs\n", (long)num_online_cpus());
-    smp_cpus_done(max_cpus);
+    smp_cpus_done();
 
     do_initcalls();
 
diff -r 1ac7336b6298 -r 485b7c5e6f17 xen/arch/x86/smpboot.c
--- a/xen/arch/x86/smpboot.c    Sun May 01 10:14:15 2011 +0100
+++ b/xen/arch/x86/smpboot.c    Sun May 01 10:15:11 2011 +0100
@@ -966,7 +966,7 @@
 }
 
 
-void __init smp_cpus_done(unsigned int max_cpus)
+void __init smp_cpus_done(void)
 {
     /*
      * Don't taint if we are running SMP kernel on a single non-MP
diff -r 1ac7336b6298 -r 485b7c5e6f17 xen/arch/x86/time.c
--- a/xen/arch/x86/time.c       Sun May 01 10:14:15 2011 +0100
+++ b/xen/arch/x86/time.c       Sun May 01 10:15:11 2011 +0100
@@ -1445,7 +1445,7 @@
     disable_tsc_sync = 1;
 }
 
-/* Late init function (after all CPUs are booted). */
+/* Late init function (after interrupts are enabled). */
 int __init init_xen_time(void)
 {
     if ( boot_cpu_has(X86_FEATURE_TSC_RELIABLE) )
diff -r 1ac7336b6298 -r 485b7c5e6f17 xen/include/xen/smp.h
--- a/xen/include/xen/smp.h     Sun May 01 10:14:15 2011 +0100
+++ b/xen/include/xen/smp.h     Sun May 01 10:15:11 2011 +0100
@@ -23,7 +23,7 @@
 /*
  * Final polishing of CPUs
  */
-extern void smp_cpus_done(unsigned int max_cpus);
+extern void smp_cpus_done(void);
 
 /*
  * Call a function on all other processors

_______________________________________________
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] A little bit of SMP boot code cleanup, Xen patchbot-unstable <=