diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2011-04-21 04:20:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-04-21 16:44:45 -0700 |
commit | 01dae0f08dddf6ba86f956e60dceee4968f7a555 (patch) | |
tree | 5bf21fbff042da53d691ca834599dd7cde164669 /arch/sparc/kernel/leon_smp.c | |
parent | 5fcafb7a23e35b2f1a5243f4dd536240f52c8ceb (diff) | |
download | blackbird-op-linux-01dae0f08dddf6ba86f956e60dceee4968f7a555.tar.gz blackbird-op-linux-01dae0f08dddf6ba86f956e60dceee4968f7a555.zip |
sparc32,leon: operate on boot-cpu IRQ controller registers
* proper initialization of boot_cpu_id (no hardcoding to 0)
* use boot_cpu_id index to address into the IRQ controller where
appropriate
Each CPU has a separate set of IRQ controller registers, this
patch makes sure that the boot-cpu registers are used instead
of CPU0's.
Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/leon_smp.c')
-rw-r--r-- | arch/sparc/kernel/leon_smp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sparc/kernel/leon_smp.c b/arch/sparc/kernel/leon_smp.c index b4059dbb6d93..cbd8e31d01ff 100644 --- a/arch/sparc/kernel/leon_smp.c +++ b/arch/sparc/kernel/leon_smp.c @@ -50,7 +50,6 @@ extern ctxd_t *srmmu_ctx_table_phys; static int smp_processors_ready; extern volatile unsigned long cpu_callin_map[NR_CPUS]; -extern unsigned char boot_cpu_id; extern cpumask_t smp_commenced_mask; void __init leon_configure_cache_smp(void); |