diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-02-21 01:22:16 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-21 01:22:16 -0500 |
commit | 0f7f22d9a46261e310b32c61eb11977a7cc83f7b (patch) | |
tree | 7c1028ed7386844ca97be925c1c9f6b43bca411a /arch | |
parent | b1422401f2491ecb7579c8d241e1f924b35e6b67 (diff) |
[SPARC64]: Fix cpu trampoline et al. mismatch warnings.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc64/kernel/hvtramp.S | 4 | ||||
-rw-r--r-- | arch/sparc64/kernel/smp.c | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/trampoline.S | 4 |
3 files changed, 7 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/hvtramp.S b/arch/sparc64/kernel/hvtramp.S index b692e044a463..0236c43772fa 100644 --- a/arch/sparc64/kernel/hvtramp.S +++ b/arch/sparc64/kernel/hvtramp.S | |||
@@ -3,6 +3,8 @@ | |||
3 | * Copyright (C) 2007 David S. Miller <davem@davemloft.net> | 3 | * Copyright (C) 2007 David S. Miller <davem@davemloft.net> |
4 | */ | 4 | */ |
5 | 5 | ||
6 | #include <linux/init.h> | ||
7 | |||
6 | #include <asm/thread_info.h> | 8 | #include <asm/thread_info.h> |
7 | #include <asm/hypervisor.h> | 9 | #include <asm/hypervisor.h> |
8 | #include <asm/scratchpad.h> | 10 | #include <asm/scratchpad.h> |
@@ -13,7 +15,7 @@ | |||
13 | #include <asm/head.h> | 15 | #include <asm/head.h> |
14 | #include <asm/asi.h> | 16 | #include <asm/asi.h> |
15 | 17 | ||
16 | .text | 18 | __CPUINIT |
17 | .align 8 | 19 | .align 8 |
18 | .globl hv_cpu_startup, hv_cpu_startup_end | 20 | .globl hv_cpu_startup, hv_cpu_startup_end |
19 | 21 | ||
diff --git a/arch/sparc64/kernel/smp.c b/arch/sparc64/kernel/smp.c index a8052b76df41..cc454731d879 100644 --- a/arch/sparc64/kernel/smp.c +++ b/arch/sparc64/kernel/smp.c | |||
@@ -86,7 +86,7 @@ extern void setup_sparc64_timer(void); | |||
86 | 86 | ||
87 | static volatile unsigned long callin_flag = 0; | 87 | static volatile unsigned long callin_flag = 0; |
88 | 88 | ||
89 | void __devinit smp_callin(void) | 89 | void __cpuinit smp_callin(void) |
90 | { | 90 | { |
91 | int cpuid = hard_smp_processor_id(); | 91 | int cpuid = hard_smp_processor_id(); |
92 | 92 | ||
diff --git a/arch/sparc64/kernel/trampoline.S b/arch/sparc64/kernel/trampoline.S index 04e81dda13d0..4ae2e525d68b 100644 --- a/arch/sparc64/kernel/trampoline.S +++ b/arch/sparc64/kernel/trampoline.S | |||
@@ -4,6 +4,8 @@ | |||
4 | * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) | 4 | * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) |
5 | */ | 5 | */ |
6 | 6 | ||
7 | #include <linux/init.h> | ||
8 | |||
7 | #include <asm/head.h> | 9 | #include <asm/head.h> |
8 | #include <asm/asi.h> | 10 | #include <asm/asi.h> |
9 | #include <asm/lsu.h> | 11 | #include <asm/lsu.h> |
@@ -36,7 +38,7 @@ dtlb_load: | |||
36 | tramp_stack: | 38 | tramp_stack: |
37 | .skip TRAMP_STACK_SIZE | 39 | .skip TRAMP_STACK_SIZE |
38 | 40 | ||
39 | .text | 41 | __CPUINIT |
40 | .align 8 | 42 | .align 8 |
41 | .globl sparc64_cpu_startup, sparc64_cpu_startup_end | 43 | .globl sparc64_cpu_startup, sparc64_cpu_startup_end |
42 | sparc64_cpu_startup: | 44 | sparc64_cpu_startup: |