diff options
| author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2007-01-14 09:41:42 -0500 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-06 11:53:09 -0500 |
| commit | 2fa7937bd8922e1fe4aae6a45e7e787fa45d6043 (patch) | |
| tree | 05465b7aa2b1e165320a2b938d0f757c7a893265 /include/asm-mips/mach-generic | |
| parent | 97dcb82de6cc99a5669eb8e342efc24cceb1e77e (diff) | |
[MIPS] Make I8259A_IRQ_BASE customizable
Move I8259A_IRQ_BASE from asm/i8259.h to asm/mach-generic/irq.h and
make it really customizable. And remove I8259_IRQ_BASE declared on
some platforms. Currently only NEC_CMBVR4133 is using custom
I8259A_IRQ_BASE value.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-generic')
| -rw-r--r-- | include/asm-mips/mach-generic/irq.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-mips/mach-generic/irq.h b/include/asm-mips/mach-generic/irq.h index 91e6778907..70d9a25132 100644 --- a/include/asm-mips/mach-generic/irq.h +++ b/include/asm-mips/mach-generic/irq.h | |||
| @@ -12,6 +12,12 @@ | |||
| 12 | #define NR_IRQS 128 | 12 | #define NR_IRQS 128 |
| 13 | #endif | 13 | #endif |
| 14 | 14 | ||
| 15 | #ifdef CONFIG_I8259 | ||
| 16 | #ifndef I8259A_IRQ_BASE | ||
| 17 | #define I8259A_IRQ_BASE 0 | ||
| 18 | #endif | ||
| 19 | #endif | ||
| 20 | |||
| 15 | #ifdef CONFIG_IRQ_CPU | 21 | #ifdef CONFIG_IRQ_CPU |
| 16 | 22 | ||
| 17 | #ifndef MIPS_CPU_IRQ_BASE | 23 | #ifndef MIPS_CPU_IRQ_BASE |
