]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[SPARC64]: Fix cpu trampoline et al. mismatch warnings.
authorSam Ravnborg <sam@ravnborg.org>
Thu, 21 Feb 2008 06:22:16 +0000 (22:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Feb 2008 06:22:16 +0000 (22:22 -0800)
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/hvtramp.S
arch/sparc64/kernel/smp.c
arch/sparc64/kernel/trampoline.S

index b692e044a463420327862689d51097a60b129119..0236c43772faf50385fd5348fb4f16d34dfcc98b 100644 (file)
@@ -3,6 +3,8 @@
  * Copyright (C) 2007 David S. Miller <davem@davemloft.net>
  */
 
+#include <linux/init.h>
+
 #include <asm/thread_info.h>
 #include <asm/hypervisor.h>
 #include <asm/scratchpad.h>
@@ -13,7 +15,7 @@
 #include <asm/head.h>
 #include <asm/asi.h>
 
-       .text
+       __CPUINIT
        .align          8
        .globl          hv_cpu_startup, hv_cpu_startup_end
 
index a8052b76df41b3c15694493cd7e92df7d9b8d1bb..cc454731d87959a4ececb9a7355dd93befe03822 100644 (file)
@@ -86,7 +86,7 @@ extern void setup_sparc64_timer(void);
 
 static volatile unsigned long callin_flag = 0;
 
-void __devinit smp_callin(void)
+void __cpuinit smp_callin(void)
 {
        int cpuid = hard_smp_processor_id();
 
index 04e81dda13d008b83032cc2b251759a8fe4e8417..4ae2e525d68ba94741c5df4100a626fa0fd1d9b2 100644 (file)
@@ -4,6 +4,8 @@
  * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
  */
 
+#include <linux/init.h>
+
 #include <asm/head.h>
 #include <asm/asi.h>
 #include <asm/lsu.h>
@@ -36,7 +38,7 @@ dtlb_load:
 tramp_stack:
        .skip   TRAMP_STACK_SIZE
 
-       .text
+       __CPUINIT
        .align          8
        .globl          sparc64_cpu_startup, sparc64_cpu_startup_end
 sparc64_cpu_startup: