Skip to content

Commit

Permalink
[SPARC64]: Fix cpu trampoline et al. mismatch warnings.
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Feb 21, 2008
1 parent b142240 commit 0f7f22d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion arch/sparc64/kernel/hvtramp.S
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -13,7 +15,7 @@
#include <asm/head.h>
#include <asm/asi.h>

.text
__CPUINIT
.align 8
.globl hv_cpu_startup, hv_cpu_startup_end

Expand Down
2 changes: 1 addition & 1 deletion arch/sparc64/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
4 changes: 3 additions & 1 deletion arch/sparc64/kernel/trampoline.S
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 0f7f22d

Please sign in to comment.