Re: [PATCH v2 05/10] MIPS: SGI-IP27: do boot CPU init later

2019-02-25 Thread Paul Burton
Hello, Thomas Bogendoerfer wrote: > 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 Applied to mips-next. Th

[PATCH v2 05/10] MIPS: SGI-IP27: do boot CPU init later

2019-02-19 Thread Thomas Bogendoerfer
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 --- arch/mips/include/asm/smp-ops.h | 1 + arch/mips/kernel/smp.c