[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] xen: more secondary CPU handling function attributes.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1197454715 0
# Node ID cd744c5ec95039b5beb0bcc8342fe254a1e5fbf3
# Parent  3ea2b75b45c524e119046c30cb9c76d73936b723
xen: more secondary CPU handling function attributes.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/core/smpboot.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff -r 3ea2b75b45c5 -r cd744c5ec950 drivers/xen/core/smpboot.c
--- a/drivers/xen/core/smpboot.c        Wed Dec 12 10:15:56 2007 +0000
+++ b/drivers/xen/core/smpboot.c        Wed Dec 12 10:18:35 2007 +0000
@@ -165,7 +165,7 @@ static void xen_smp_intr_exit(unsigned i
 }
 #endif
 
-void cpu_bringup(void)
+void __cpuinit cpu_bringup(void)
 {
        cpu_init();
        identify_cpu(cpu_data + smp_processor_id());
@@ -174,13 +174,13 @@ void cpu_bringup(void)
        local_irq_enable();
 }
 
-static void cpu_bringup_and_idle(void)
+static void __cpuinit cpu_bringup_and_idle(void)
 {
        cpu_bringup();
        cpu_idle();
 }
 
-static void cpu_initialize_context(unsigned int cpu)
+static void __cpuinit cpu_initialize_context(unsigned int cpu)
 {
        vcpu_guest_context_t ctxt;
        struct task_struct *idle = idle_task(cpu);

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.