ARM: gic, local timers: use the request_percpu_irq() interface
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 22 Jul 2011 11:52:37 +0000 (12:52 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Sun, 23 Oct 2011 12:32:33 +0000 (13:32 +0100)
commit28af690a284dfcb627bd69d0963db1c0f412cb8c
tree6daa595281c87b5bfee4cca79492a724deb1cfbc
parent292b293ceef2eda1f96f0c90b96e954d7bdabd1c
ARM: gic, local timers: use the request_percpu_irq() interface

This patch remove the hardcoded link between local timers and PPIs,
and convert the PPI users (TWD, MCT and MSM timers) to the new
*_percpu_irq interface. Also some collateral cleanup
(local_timer_ack() is gone, and the interrupt handler is strictly
private to each driver).

PPIs are now useable for more than just the local timers.

Additional testing by David Brown (msm8250 and msm8660) and
Shawn Guo (imx6q).

Cc: David Brown <davidb@codeaurora.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Acked-by: David Brown <davidb@codeaurora.org>
Tested-by: David Brown <davidb@codeaurora.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/common/gic.c
arch/arm/include/asm/hardware/gic.h
arch/arm/include/asm/localtimer.h
arch/arm/include/asm/smp_twd.h
arch/arm/kernel/smp.c
arch/arm/kernel/smp_twd.c
arch/arm/mach-exynos4/mct.c
arch/arm/mach-msm/timer.c