Re: [PATCH] MIPS: paravirt: Fix undefined reference to smp_bootstrap

2016-09-13 Thread Ralf Baechle
On Mon, Sep 05, 2016 at 03:43:40PM +0100, Matt Redfearn wrote: > If the paravirt machine is compiles without CONFIG_SMP, the following > linker error occurs > > arch/mips/kernel/head.o: In function `kernel_entry': > (.ref.text+0x10): undefined reference to `smp_bootstrap' > > due to the kernel e

[PATCH] MIPS: paravirt: Fix undefined reference to smp_bootstrap

2016-09-05 Thread Matt Redfearn
If the paravirt machine is compiles without CONFIG_SMP, the following linker error occurs arch/mips/kernel/head.o: In function `kernel_entry': (.ref.text+0x10): undefined reference to `smp_bootstrap' due to the kernel entry macro always including SMP startup code. Wrap this code in CONFIG_SMP to