]> git.karo-electronics.de Git - linux-beck.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)
commit89d798b73dc64b3be2a653cabb4cb622675a9a36
tree0f52d4be8c2fdb98592137b6baf764032af707b5
parentf6419f240b15f967713c5cd6857dfba8fb390589
ARM: 8487/1: Remove IPI_CALL_FUNC_SINGLE

Since 9a46ad6d6df3 ("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