]> git.baikalelectronics.ru Git - kernel.git/commit
ARC: smp: irqchip: handle IPI as percpu irq like timer
authorVineet Gupta <vgupta@synopsys.com>
Mon, 12 Oct 2015 09:28:54 +0000 (14:58 +0530)
committerVineet Gupta <vgupta@synopsys.com>
Wed, 28 Oct 2015 10:43:39 +0000 (16:13 +0530)
commitab0c8335533379447ed3a4d6fcaa5dbe915ca43a
tree34ecf6334a5a58f9a337436d70c2f7fc01f39ca4
parentf0345333e865668138b90827023dae2ae51c3b1d
ARC: smp: irqchip: handle IPI as percpu irq like timer

The reason this was not done so far was lack of genuine IPI_IRQ for
ARC700, as we don't have a SMP version of core yet (which might change
soon thx to EZChip). Nevertheles to increase the build coverage, we
need to allow CONFIG_SMP for ARC700 and still be able to run it on a
UP platform (nsim or AXS101) with a UP Device Tree (SMP-on-UP)

The build itself requires some define for IPI_IRQ and even a dummy
value is fine since that code won't run anyways.

Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/irq.h
arch/arc/kernel/intc-compact.c