diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-05 09:51:38 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-14 20:21:47 +0100 |
commit | 7627dc802a98aebebc6a34e5b6558ea4717c968c (patch) | |
tree | f1308e351f6f003a52b5939b7eece82f14a12c62 /arch/arm/mach-tegra | |
parent | ARM: GIC: move gic_data[] initialization into gic_init() (diff) | |
download | linux-7627dc802a98aebebc6a34e5b6558ea4717c968c.tar.xz linux-7627dc802a98aebebc6a34e5b6558ea4717c968c.zip |
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>
Diffstat (limited to 'arch/arm/mach-tegra')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/entry-macro.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/entry-macro.S b/arch/arm/mach-tegra/include/mach/entry-macro.S index dc0924915183..dd165c53889d 100644 --- a/arch/arm/mach-tegra/include/mach/entry-macro.S +++ b/arch/arm/mach-tegra/include/mach/entry-macro.S @@ -16,7 +16,7 @@ #include <mach/io.h> #if defined(CONFIG_ARM_GIC) - +#define HAVE_GET_IRQNR_PREAMBLE #include <asm/hardware/entry-macro-gic.S> /* Uses the GIC interrupt controller built into the cpu */ |