From: Marc Zyngier Date: Tue, 2 Dec 2014 16:05:25 +0000 (+0000) Subject: ARM: imx: irq: fix buggy usage of irq_data irq field X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~17^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2fd06f6be690a1a9697c0c6338843a35cbd70a3;p=pandora-kernel.git 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 Acked-by: Shawn Guo Signed-off-by: Marc Zyngier Signed-off-by: Olof Johansson --- Reading git-diff-tree failed