diff options
| -rw-r--r-- | arch/arm/mach-tegra/include/mach/entry-macro.S | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/mach-tegra/include/mach/entry-macro.S b/arch/arm/mach-tegra/include/mach/entry-macro.S index dd165c53889d..485a11eeaceb 100644 --- a/arch/arm/mach-tegra/include/mach/entry-macro.S +++ b/arch/arm/mach-tegra/include/mach/entry-macro.S | |||
| @@ -15,7 +15,6 @@ | |||
| 15 | #include <mach/iomap.h> | 15 | #include <mach/iomap.h> |
| 16 | #include <mach/io.h> | 16 | #include <mach/io.h> |
| 17 | 17 | ||
| 18 | #if defined(CONFIG_ARM_GIC) | ||
| 19 | #define HAVE_GET_IRQNR_PREAMBLE | 18 | #define HAVE_GET_IRQNR_PREAMBLE |
| 20 | #include <asm/hardware/entry-macro-gic.S> | 19 | #include <asm/hardware/entry-macro-gic.S> |
| 21 | 20 | ||
| @@ -32,25 +31,3 @@ | |||
| 32 | 31 | ||
| 33 | .macro arch_ret_to_user, tmp1, tmp2 | 32 | .macro arch_ret_to_user, tmp1, tmp2 |
| 34 | .endm | 33 | .endm |
| 35 | #else | ||
| 36 | /* legacy interrupt controller for AP16 */ | ||
| 37 | .macro disable_fiq | ||
| 38 | .endm | ||
| 39 | |||
| 40 | .macro get_irqnr_preamble, base, tmp | ||
| 41 | @ enable imprecise aborts | ||
| 42 | cpsie a | ||
| 43 | @ EVP base at 0xf010f000 | ||
| 44 | mov \base, #0xf0000000 | ||
| 45 | orr \base, #0x00100000 | ||
| 46 | orr \base, #0x0000f000 | ||
| 47 | .endm | ||
| 48 | |||
| 49 | .macro arch_ret_to_user, tmp1, tmp2 | ||
| 50 | .endm | ||
| 51 | |||
| 52 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | ||
| 53 | ldr \irqnr, [\base, #0x20] @ EVT_IRQ_STS | ||
| 54 | cmp \irqnr, #0x80 | ||
| 55 | .endm | ||
| 56 | #endif | ||
