diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-05 08:51:38 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-12-14 19:21:47 +0000 |
commit | 7627dc802a98aebebc6a34e5b6558ea4717c968c (patch) | |
tree | f1308e351f6f003a52b5939b7eece82f14a12c62 /arch/arm/mach-vexpress | |
parent | bef8f9ee32511a28f1c9a7d3b8c51cdac030b564 (diff) | |
download | blackbird-op-linux-7627dc802a98aebebc6a34e5b6558ea4717c968c.tar.gz blackbird-op-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-vexpress')
-rw-r--r-- | arch/arm/mach-vexpress/include/mach/entry-macro.S | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-vexpress/include/mach/entry-macro.S b/arch/arm/mach-vexpress/include/mach/entry-macro.S index 19d5ac8ba071..73c11297509e 100644 --- a/arch/arm/mach-vexpress/include/mach/entry-macro.S +++ b/arch/arm/mach-vexpress/include/mach/entry-macro.S @@ -3,10 +3,5 @@ .macro disable_fiq .endm - .macro get_irqnr_preamble, base, tmp - ldr \base, =gic_cpu_base_addr - ldr \base, [\base] - .endm - .macro arch_ret_to_user, tmp1, tmp2 .endm |