mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
7627dc802a
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>
26 lines
654 B
ArmAsm
26 lines
654 B
ArmAsm
/*
|
|
* Low-level IRQ helper macros for U8500 platforms
|
|
*
|
|
* Copyright (C) 2009 ST-Ericsson.
|
|
*
|
|
* This file is a copy of ARM Realview platform.
|
|
* -just satisfied checkpatch script.
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
#include <mach/hardware.h>
|
|
#define HAVE_GET_IRQNR_PREAMBLE
|
|
#include <asm/hardware/entry-macro-gic.S>
|
|
|
|
.macro disable_fiq
|
|
.endm
|
|
|
|
.macro get_irqnr_preamble, base, tmp
|
|
ldr \base, =IO_ADDRESS(UX500_GIC_CPU_BASE)
|
|
.endm
|
|
|
|
.macro arch_ret_to_user, tmp1, tmp2
|
|
.endm
|