mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-05 13:51:52 +00:00
[MIPS] Yosemite: Fix modpost warnings.
MODPOST vmlinux WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x974): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done') WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x980): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done') WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x978): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done') WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x984): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done') WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x98c): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done') WARNING: arch/mips/pmc-sierra/yosemite/built-in.o(.text+0x990): Section mismatch: reference to .init.data: (between 'prom_boot_secondary' and 'prom_cpus_done') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
7e95a016f8
commit
44659f29a0
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ void __init plat_prepare_cpus(unsigned int max_cpus)
|
||||||
* stack so the first thing we do is throw away that stuff and load useful
|
* stack so the first thing we do is throw away that stuff and load useful
|
||||||
* values into the registers ...
|
* values into the registers ...
|
||||||
*/
|
*/
|
||||||
void prom_boot_secondary(int cpu, struct task_struct *idle)
|
void __init prom_boot_secondary(int cpu, struct task_struct *idle)
|
||||||
{
|
{
|
||||||
unsigned long gp = (unsigned long) task_thread_info(idle);
|
unsigned long gp = (unsigned long) task_thread_info(idle);
|
||||||
unsigned long sp = __KSTK_TOS(idle);
|
unsigned long sp = __KSTK_TOS(idle);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue