aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-generic/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mach-generic/irq.h')
-rw-r--r--include/asm-mips/mach-generic/irq.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/asm-mips/mach-generic/irq.h b/include/asm-mips/mach-generic/irq.h
index 500e10ff24de..91e6778907fe 100644
--- a/include/asm-mips/mach-generic/irq.h
+++ b/include/asm-mips/mach-generic/irq.h
@@ -8,6 +8,32 @@
8#ifndef __ASM_MACH_GENERIC_IRQ_H 8#ifndef __ASM_MACH_GENERIC_IRQ_H
9#define __ASM_MACH_GENERIC_IRQ_H 9#define __ASM_MACH_GENERIC_IRQ_H
10 10
11#ifndef NR_IRQS
11#define NR_IRQS 128 12#define NR_IRQS 128
13#endif
14
15#ifdef CONFIG_IRQ_CPU
16
17#ifndef MIPS_CPU_IRQ_BASE
18#ifdef CONFIG_I8259
19#define MIPS_CPU_IRQ_BASE 16
20#else
21#define MIPS_CPU_IRQ_BASE 0
22#endif /* CONFIG_I8259 */
23#endif
24
25#ifdef CONFIG_IRQ_CPU_RM7K
26#ifndef RM7K_CPU_IRQ_BASE
27#define RM7K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+8)
28#endif
29#endif
30
31#ifdef CONFIG_IRQ_CPU_RM9K
32#ifndef RM9K_CPU_IRQ_BASE
33#define RM9K_CPU_IRQ_BASE (MIPS_CPU_IRQ_BASE+12)
34#endif
35#endif
36
37#endif /* CONFIG_IRQ_CPU */
12 38
13#endif /* __ASM_MACH_GENERIC_IRQ_H */ 39#endif /* __ASM_MACH_GENERIC_IRQ_H */