linux-mips
[Top] [All Lists]

Re: [MIPS] Fix modpost warnings by making start_secondary __cpuinit

To: linux-mips@linux-mips.org
Subject: Re: [MIPS] Fix modpost warnings by making start_secondary __cpuinit
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sat, 02 Jun 2007 01:30:22 +0900 (JST)
Cc: ralf@linux-mips.org
In-reply-to: <S28573756AbXEaP7t/20070531155949Z+115@ftp.linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <S28573756AbXEaP7t/20070531155949Z+115@ftp.linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Thu, 31 May 2007 16:59:44 +0100, linux-mips@linux-mips.org wrote:
> WARNING: arch/mips/kernel/built-in.o(.text+0x9a58): Section mismatch: 
> reference to .init.text:cpu_report (between 'start_secondary' and 
> 'smp_prepare_boot_cpu')

Looking at arch/mips/kernel/smp.c, I suppose there should be much more
functions to be marked as __cpuinit.  For example,
prom_init_secondary(), prom_smp_finish(), prom_smp_finish(),
prom_boot_secondary(), etc.

And then, smtc_init_secondary(), smtc_smp_finish(), etc. ...

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>