diff options
Diffstat (limited to 'arch/arm/mach-mmp/include/mach/entry-macro.S')
-rw-r--r-- | arch/arm/mach-mmp/include/mach/entry-macro.S | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/arm/mach-mmp/include/mach/entry-macro.S b/arch/arm/mach-mmp/include/mach/entry-macro.S deleted file mode 100644 index bd152e24e6d7..000000000000 --- a/arch/arm/mach-mmp/include/mach/entry-macro.S +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | /* | ||
2 | * linux/arch/arm/mach-mmp/include/mach/entry-macro.S | ||
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | ||
8 | |||
9 | #include <asm/irq.h> | ||
10 | #include <mach/regs-icu.h> | ||
11 | |||
12 | .macro get_irqnr_preamble, base, tmp | ||
13 | mrc p15, 0, \tmp, c0, c0, 0 @ CPUID | ||
14 | and \tmp, \tmp, #0xff00 | ||
15 | cmp \tmp, #0x5800 | ||
16 | ldr \base, =mmp_icu_base | ||
17 | ldr \base, [\base, #0] | ||
18 | addne \base, \base, #0x10c @ PJ1 AP INT SEL register | ||
19 | addeq \base, \base, #0x104 @ PJ4 IRQ SEL register | ||
20 | .endm | ||
21 | |||
22 | .macro get_irqnr_and_base, irqnr, irqstat, base, tmp | ||
23 | ldr \tmp, [\base, #0] | ||
24 | and \irqnr, \tmp, #0x3f | ||
25 | tst \tmp, #(1 << 6) | ||
26 | .endm | ||