sparc32,leon: Implemented SMP IPIs for LEON CPU
authorDaniel Hellstrom <daniel@gaisler.com>
Mon, 2 May 2011 00:08:52 +0000 (00:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 May 2011 20:07:43 +0000 (13:07 -0700)
commit1ca0c808c60f171c1949b0e7f3a4c0516855f7a0
treef1183b243d2e8ed42006891d80e0d077cabaf5e1
parentd6d048192b1d22cb8f09da0cc936095ec2cb969c
sparc32,leon: Implemented SMP IPIs for LEON CPU

This patch implements SMP IPIs on LEON using software generated
IRQs to signal between CPUs.

The IPI IRQ number is set by using the ipi_num property in the
device tree, or defaults to 13. LEON SMP systems should reserve
IRQ 13 (and IRQ 15) to Linux in order for the defaults to work.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/leon.h
arch/sparc/kernel/entry.S
arch/sparc/kernel/leon_smp.c