Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f2206ec92c1bd2145a63b2ef1f6abccd6439fe73
Commit:     f2206ec92c1bd2145a63b2ef1f6abccd6439fe73
Parent:     d53379832624c0ecab7f46749c8b72e49a88d160
Author:     Adrian Bunk <[EMAIL PROTECTED]>
AuthorDate: Wed Dec 19 23:20:18 2007 +0100
Committer:  Ingo Molnar <[EMAIL PROTECTED]>
CommitDate: Wed Dec 19 23:20:18 2007 +0100

    x86 smpboot_32.c section fixes
    
    CONFIG_HOTPLUG_CPU=y:
    
    WARNING: vmlinux.o(.text+0x22c60): Section mismatch: reference to 
.init.data:cpu_idle_tasks (between 'do_boot_cpu' and 'do_warm_boot_cpu')
    WARNING: vmlinux.o(.text+0x22c99): Section mismatch: reference to 
.init.data:cpu_idle_tasks (between 'do_boot_cpu' and 'do_warm_boot_cpu')
    WARNING: vmlinux.o(.text+0x2359b): Section mismatch: reference to 
.init.data:smp_b_stepping (between 'smp_store_cpu_info' and 'cpu_exit_clear')
    WARNING: vmlinux.o(.text+0x235a0): Section mismatch: reference to 
.init.data:smp_b_stepping (between 'smp_store_cpu_info' and 'cpu_exit_clear')
    
    Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Thomas Gleixner <[EMAIL PROTECTED]>
---
 arch/x86/kernel/smpboot_32.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/x86/kernel/smpboot_32.c b/arch/x86/kernel/smpboot_32.c
index ef0f34e..4ea80cb 100644
--- a/arch/x86/kernel/smpboot_32.c
+++ b/arch/x86/kernel/smpboot_32.c
@@ -60,7 +60,7 @@
 #include <asm/mtrr.h>
 
 /* Set if we find a B stepping CPU */
-static int __devinitdata smp_b_stepping;
+static int __cpuinitdata smp_b_stepping;
 
 /* Number of siblings per CPU package */
 int smp_num_siblings = 1;
@@ -745,8 +745,8 @@ static inline int alloc_cpu_id(void)
 }
 
 #ifdef CONFIG_HOTPLUG_CPU
-static struct task_struct * __devinitdata cpu_idle_tasks[NR_CPUS];
-static inline struct task_struct * alloc_idle_task(int cpu)
+static struct task_struct * __cpuinitdata cpu_idle_tasks[NR_CPUS];
+static inline struct task_struct * __cpuinit alloc_idle_task(int cpu)
 {
        struct task_struct *idle;
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to