sparc32: boot_cpu_id patches
cover sparc32: boot_cpu_id patches
Hello,
The LEON patches in this series must be applied after the genirq patches [2..7] previously sent.
It adds support for LEON to boot on a CPU other than CPU0 on single-processor linux kernels. I have tried to clean up the boot_cpu_id initialization and move it to the DATA section and at the same time use the value to determine if it is the first CPU booting in the LEON case.
Happy easter everyone,
Daniel
--- arch/sparc/include/asm/setup.h | 12 +++++++++ arch/sparc/kernel/head_32.S | 51 +++++++++++++++++++++----------------- arch/sparc/kernel/leon_kernel.c | 21 +++++++++------- arch/sparc/kernel/leon_smp.c | 5 +++- arch/sparc/kernel/setup_32.c | 4 +++ arch/sparc/kernel/smp_32.c | 2 - arch/sparc/kernel/sun4d_irq.c | 5 +-- 7 files changed, 62 insertions(+), 38 deletions(-)
From: Daniel Hellstrom <[email protected]>
Date: Thu, 21 Apr 2011 16:19:33 +0200
Quoted 8 lines
The LEON patches in this series must be applied after the genirq patches [2..7] previously sent.
It adds support for LEON to boot on a CPU other than CPU0 on single-processor linux kernels. I have tried to clean up the
boot_cpu_idinitialization and move it to the DATA section and at the same time use the value to determine if it is the first CPU booting in the LEON case.
All applied to sparc-next-2.6