summaryrefslogtreecommitdiffstats
path: root/kernel/profile.c
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2013-03-07 12:38:16 +0900
committerKukjin Kim <kgene.kim@samsung.com>2013-03-07 12:38:16 +0900
commit0fe3cb1ea5bf382cec946328ee25b233cab45c4d (patch)
tree675a1f6a929ffac154d507a21431211b728de47b /kernel/profile.c
parent502a29890cb10292f464beb802f7184c0d567ab8 (diff)
downloadop-kernel-dev-0fe3cb1ea5bf382cec946328ee25b233cab45c4d.zip
op-kernel-dev-0fe3cb1ea5bf382cec946328ee25b233cab45c4d.tar.gz
ARM: S3C24XX: fix irq parent check
The current parent_irq check checks for a value != 0. This does of course not work when the parent irq sits in the bit 0 of the parent register. This only affects the eint0 interrupt of the s3c2412. To fix this behaviour, check for the presence of a parent_intc in the structure. In an s3c24xx interrupt controller either all interrupts have parent interrupts or none have, so if a parent controller is available the parent_irq value always points to a parent_irq. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'kernel/profile.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud