diff options
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/entry-macro.S')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/entry-macro.S | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-tegra/include/mach/entry-macro.S b/arch/arm/mach-tegra/include/mach/entry-macro.S index ac11262149c7..e577cfe27e72 100644 --- a/arch/arm/mach-tegra/include/mach/entry-macro.S +++ b/arch/arm/mach-tegra/include/mach/entry-macro.S | |||
@@ -18,21 +18,3 @@ | |||
18 | 18 | ||
19 | .macro arch_ret_to_user, tmp1, tmp2 | 19 | .macro arch_ret_to_user, tmp1, tmp2 |
20 | .endm | 20 | .endm |
21 | |||
22 | #if !defined(CONFIG_ARM_GIC) | ||
23 | /* legacy interrupt controller for AP16 */ | ||
24 | |||
25 | .macro get_irqnr_preamble, base, tmp | ||
26 | @ enable imprecise aborts | ||
27 | cpsie a | ||
28 | @ EVP base at 0xf010f000 | ||
29 | mov \base, #0xf0000000 | ||
30 | orr \base, #0x00100000 | ||
31 | orr \base, #0x0000f000 | ||
32 | .endm | ||
33 | |||
34 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | ||
35 | ldr \irqnr, [\base, #0x20] @ EVT_IRQ_STS | ||
36 | cmp \irqnr, #0x80 | ||
37 | .endm | ||
38 | #endif | ||