summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/common.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2014-12-02 17:05:25 +0100
committerOlof Johansson <olof@lixom.net>2014-12-05 08:24:48 +0100
commite2fd06f6be690a1a9697c0c6338843a35cbd70a3 (patch)
treec91fa0f3308390d904174db5c6fdd8c3cae5173c /arch/arm/mach-imx/common.h
parentMAINTAINERS: ARM Versatile Express platform, add missing pattern (diff)
downloadlinux-e2fd06f6be690a1a9697c0c6338843a35cbd70a3.tar.xz
linux-e2fd06f6be690a1a9697c0c6338843a35cbd70a3.zip
ARM: imx: irq: fix buggy usage of irq_data irq field
mach-imx directly references to the irq field in struct irq_data, and uses this to directly poke hardware register. But irq is the *virtual* irq number, something that has nothing to do with the actual HW irq (stored in the hwirq field). And once we put the stacked domain code in action, the whole thing explodes, as these two values are *very* different. Just replacing all instances of irq with hwirq fixes the issue. Tested-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
0 files changed, 0 insertions, 0 deletions