]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8487/1: Remove IPI_CALL_FUNC_SINGLE
authorMarc Zyngier <Marc.Zyngier@arm.com>
Fri, 18 Dec 2015 10:06:19 +0000 (11:06 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 22 Dec 2015 12:09:43 +0000 (12:09 +0000)
commit15aa00c746a6cd18536558ed17091d661765d206
tree0f52d4be8c2fdb98592137b6baf764032af707b5
parent4e5d6c9c1feae5f8fbbfe39b3a9ca9705ade239a
ARM: 8487/1: Remove IPI_CALL_FUNC_SINGLE

Since f8a8ef88478c ("smp: make smp_call_function_many() use logic
similar to smp_call_function_single()"), the core IPI handling
has been simplified, and generic_smp_call_function_interrupt is
now the same as generic_smp_call_function_single_interrupt.

This means that one of IPI_CALL_FUNC and IPI_CALL_FUNC_SINGLE has
become redundant. We can then safely drop IPI_CALL_FUNC_SINGLE,
and use only IPI_CALL_FUNC.

This has the advantage of reducing the number of SGI IDs we're using
(a fairly scarse resource).

Tested on a dual A7 board.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/hardirq.h
arch/arm/kernel/smp.c