diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-01-29 01:41:54 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-01-29 01:41:54 +0000 |
commit | f969d69ba9f952e5bdd38278e25e26a3e4a61a70 (patch) | |
tree | b3530d803df59d726afaabebc6626987dee1ca05 /include/asm-sh/irq.h | |
parent | a10ce7ef2066b455d69187643ddf2073bfc4db24 (diff) |
Merge with 2.3.27.
Diffstat (limited to 'include/asm-sh/irq.h')
-rw-r--r-- | include/asm-sh/irq.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asm-sh/irq.h b/include/asm-sh/irq.h index a1c06075b..f05fd7ac3 100644 --- a/include/asm-sh/irq.h +++ b/include/asm-sh/irq.h @@ -9,10 +9,13 @@ * */ +#include <linux/config.h> + #define TIMER_IRQ 16 /* Hard-wired */ #define TIMER_IRP_OFFSET 12 #define TIMER_PRIORITY 1 +#if defined(__SH4__) /* * 48 = 32+16 * @@ -21,6 +24,11 @@ * */ #define NR_IRQS 48 +#elif defined(CONFIG_CPU_SUBTYPE_SH7708) +#define NR_IRQS 32 +#elif defined(CONFIG_CPU_SUBTYPE_SH7709) +#define NR_IRQS 61 +#endif extern void disable_irq(unsigned int); extern void disable_irq_nosync(unsigned int); |