Skip to content

Commit

Permalink
[MIPS] IP27: Fix modpost warning.
Browse files Browse the repository at this point in the history
  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x3180): Section mismatch: reference to .init.text:per_cpu_init (between 'prom_init_secondary' and 'alloc_cpupda')

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Jul 31, 2007
1 parent 4dc4677 commit 72db43b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/sgi-ip27/ip27-smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ void __init prom_boot_secondary(int cpu, struct task_struct *idle)
0, (void *) sp, (void *) gp);
}

void prom_init_secondary(void)
void __cpuinit prom_init_secondary(void)
{
per_cpu_init();
local_irq_enable();
Expand Down

0 comments on commit 72db43b

Please sign in to comment.