]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8d3a281c46eca4917b77affba33bed3e455c52bd
tree6daa595281c87b5bfee4cca79492a724deb1cfbc
parentf9b30eaa15c9f5bfb52e69c5ccc036b3c1831dbf
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