]> git.baikalelectronics.ru Git - kernel.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)
commit4696aaadba7b95ba7efeccc2ebf48634fb944a5e
tree818a77eccd79e7e265a5d9ca5f6ef579f67697b2
parentd8fafa8cc91aaaf715bcf1f57cb8abdf68f44e34
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