ARM: GIC: private a standard get_irqnr_preamble assembler macro
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 5 Dec 2010 08:51:38 +0000 (08:51 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 14 Dec 2010 19:21:47 +0000 (19:21 +0000)
commit7627dc802a98aebebc6a34e5b6558ea4717c968c
treef1308e351f6f003a52b5939b7eece82f14a12c62
parentbef8f9ee32511a28f1c9a7d3b8c51cdac030b564
ARM: GIC: private a standard get_irqnr_preamble assembler macro

Provide a standard get_irqnr_preamble assembler macro for platforms
to use, which retrieves the base address of the GIC CPU interface
from gic_cpu_base_addr.  Allow platforms to override this by defining
HAVE_GET_IRQNR_PREAMBLE.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/hardware/entry-macro-gic.S
arch/arm/mach-cns3xxx/include/mach/entry-macro.S
arch/arm/mach-omap2/include/mach/entry-macro.S
arch/arm/mach-realview/include/mach/entry-macro.S
arch/arm/mach-tegra/include/mach/entry-macro.S
arch/arm/mach-ux500/include/mach/entry-macro.S
arch/arm/mach-vexpress/include/mach/entry-macro.S