]> 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)
commit89dd75d6426f9a694110736469b3bffe9154c20b
tree6daa595281c87b5bfee4cca79492a724deb1cfbc
parentc9666f758cc33326f118e75c5ea43bd4f169c312
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