diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-11-19 21:18:30 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-12-05 20:45:37 -0500 |
commit | 417528a2e35f46bc42721de5c4efd33a0eba019d (patch) | |
tree | 622d88ef2f82910063e841fd70d8720465c4dcef /arch/sh/kernel/cpu | |
parent | 716067f28931d46b9f460acbeae1478a337e58ec (diff) |
sh: Configurable timer IRQ.
All of the various CPU subtypes currently hardcode TIMER_IRQ,
switch this to a config option in the few places we need this.
This allows further removal of hardcoded IRQ headers..
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu')
-rw-r--r-- | arch/sh/kernel/cpu/sh4/setup-sh7780.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/kernel/cpu/sh4/setup-sh7780.c b/arch/sh/kernel/cpu/sh4/setup-sh7780.c index 814ddb226531..4a2b9e01b91f 100644 --- a/arch/sh/kernel/cpu/sh4/setup-sh7780.c +++ b/arch/sh/kernel/cpu/sh4/setup-sh7780.c | |||
@@ -79,7 +79,7 @@ static int __init sh7780_devices_setup(void) | |||
79 | __initcall(sh7780_devices_setup); | 79 | __initcall(sh7780_devices_setup); |
80 | 80 | ||
81 | static struct intc2_data intc2_irq_table[] = { | 81 | static struct intc2_data intc2_irq_table[] = { |
82 | { TIMER_IRQ, 0, 24, 0, INTC_TMU0_MSK, 2 }, | 82 | { 28, 0, 24, 0, INTC_TMU0_MSK, 2 }, |
83 | { 21, 1, 0, 0, INTC_RTC_MSK, TIMER_PRIORITY }, | 83 | { 21, 1, 0, 0, INTC_RTC_MSK, TIMER_PRIORITY }, |
84 | { 22, 1, 1, 0, INTC_RTC_MSK, TIMER_PRIORITY }, | 84 | { 22, 1, 1, 0, INTC_RTC_MSK, TIMER_PRIORITY }, |
85 | { 23, 1, 2, 0, INTC_RTC_MSK, TIMER_PRIORITY }, | 85 | { 23, 1, 2, 0, INTC_RTC_MSK, TIMER_PRIORITY }, |