MIPS: SGI-IP27: do boot CPU init later
To make use of per_cpu variables in interrupt code per_cpu_init() must be done after setup_per_cpu_areas(). This is achieved by calling it in smp_prepare_boot_cpu() via a new smp_ops method. Signed-off-by:Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by:
Paul Burton <paul.burton@mips.com> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Showing
- arch/mips/include/asm/smp-ops.h 1 addition, 0 deletionsarch/mips/include/asm/smp-ops.h
- arch/mips/kernel/smp.c 2 additions, 0 deletionsarch/mips/kernel/smp.c
- arch/mips/sgi-ip27/ip27-init.c 0 additions, 1 deletionarch/mips/sgi-ip27/ip27-init.c
- arch/mips/sgi-ip27/ip27-smp.c 3 additions, 2 deletionsarch/mips/sgi-ip27/ip27-smp.c
Please register or sign in to comment