]> Pileus Git - ~andy/linux/blob - arch/arm/mach-tegra/include/mach/entry-macro.S
arm/tegra: Remove code that's ifndef CONFIG_ARM_GIC
[~andy/linux] / arch / arm / mach-tegra / include / mach / entry-macro.S
1 /* arch/arm/mach-tegra/include/mach/entry-macro.S
2  *
3  * Copyright (C) 2009 Palm, Inc.
4  *
5  * This software is licensed under the terms of the GNU General Public
6  * License version 2, as published by the Free Software Foundation, and
7  * may be copied, distributed, and modified under those terms.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  */
15 #include <mach/iomap.h>
16 #include <mach/io.h>
17
18 #define HAVE_GET_IRQNR_PREAMBLE
19 #include <asm/hardware/entry-macro-gic.S>
20
21         /* Uses the GIC interrupt controller built into the cpu */
22 #define ICTRL_BASE (IO_CPU_VIRT + 0x100)
23
24         .macro  disable_fiq
25         .endm
26
27         .macro  get_irqnr_preamble, base, tmp
28         movw \base, #(ICTRL_BASE & 0x0000ffff)
29         movt \base, #((ICTRL_BASE & 0xffff0000) >> 16)
30         .endm
31
32         .macro  arch_ret_to_user, tmp1, tmp2
33         .endm