]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: S3C24XX: add handle_irq function
authorHeiko Stuebner <heiko@sntech.de>
Thu, 7 Mar 2013 03:38:25 +0000 (12:38 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 7 Mar 2013 03:38:25 +0000 (12:38 +0900)
commit17453dd2e7df20612770ebbf1ab5d506a432210c
tree818a77eccd79e7e265a5d9ca5f6ef579f67697b2
parent3d3eb5a476a55e9ef1aeaa6a3c2b00587ed32521
ARM: S3C24XX: add handle_irq function

This removes the dependency on static irq mappings for basic irq handling
and makes the s3c24xx entry-macro.S obsolete.

Also the interrupts of the second full interrupt controller on the s3c2416
are really handled now, which was forgotten when adding them.

The handling itself does the same as the previous assembler-code in that
it tries to get the interrupt offset from the offset register first and
if that produces wrong results manually searches for the interrupt bit
in the pending register value. It also saves the historic comment which
explains the reason behind this.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/Kconfig
arch/arm/mach-s3c24xx/include/mach/entry-macro.S [deleted file]
arch/arm/mach-s3c24xx/irq.c