sparc32,leon: operate on boot-cpu IRQ controller registers
commit01dae0f08dddf6ba86f956e60dceee4968f7a555
authorDaniel Hellstrom <daniel@gaisler.com>
Thu, 21 Apr 2011 04:20:24 +0000 (21 04:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2011 23:44:45 +0000 (21 16:44 -0700)
tree5bf21fbff042da53d691ca834599dd7cde164669
parent5fcafb7a23e35b2f1a5243f4dd536240f52c8ceb
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>
arch/sparc/kernel/head_32.S
arch/sparc/kernel/leon_kernel.c
arch/sparc/kernel/leon_smp.c