ARM: shmobile: add gic_iid macro for ICCIAR / interrupt ID
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 25 Feb 2013 09:39:44 +0000 (01:39 -0800)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 12 Mar 2013 17:13:21 +0000 (02:13 +0900)
commit652f9452781630cb624928c48803db353cdeb09f
tree29547979c9d297f1359a131ed8c2ec200ec582af
parent386e9464fab9beb6d55081edb120f2ed9a22ca41
ARM: shmobile: add gic_iid macro for ICCIAR / interrupt ID

R-Car H1 datasheet GIC number is indicating
GIC ICCIAR / interrupt ID number, not SPI number,
but current marzen board code is using gic_spi() with
un-understandable calculation.

This patch adds new gic_iid() macro which means
ICCIAR / interrupt ID, and used the number
currently written on datasheet.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
[ horms+renesas@verge.net.au: Split board-marzen.c portion into a separate patch ]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/include/mach/irqs.h