Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 44659f29 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 7e95a016
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);