diff options
Diffstat (limited to 'include/asm-sh/cpu-sh5')
-rw-r--r-- | include/asm-sh/cpu-sh5/irq.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/include/asm-sh/cpu-sh5/irq.h b/include/asm-sh/cpu-sh5/irq.h index 5c9e6a873aeb..f539baec8529 100644 --- a/include/asm-sh/cpu-sh5/irq.h +++ b/include/asm-sh/cpu-sh5/irq.h | |||
@@ -92,9 +92,6 @@ | |||
92 | #define NR_EXT_IRQS 0 | 92 | #define NR_EXT_IRQS 0 |
93 | #endif | 93 | #endif |
94 | 94 | ||
95 | #define NR_IRQS (NR_INTC_IRQS+NR_EXT_IRQS) | ||
96 | |||
97 | |||
98 | /* Default IRQs, fixed */ | 95 | /* Default IRQs, fixed */ |
99 | #define TIMER_IRQ IRQ_TUNI0 | 96 | #define TIMER_IRQ IRQ_TUNI0 |
100 | #define RTC_IRQ IRQ_CUI | 97 | #define RTC_IRQ IRQ_CUI |
@@ -116,29 +113,6 @@ | |||
116 | 113 | ||
117 | extern int intc_evt_to_irq[(0xE20/0x20)+1]; | 114 | extern int intc_evt_to_irq[(0xE20/0x20)+1]; |
118 | int intc_irq_describe(char* p, int irq); | 115 | int intc_irq_describe(char* p, int irq); |
119 | 116 | extern int platform_int_priority[NR_INTC_IRQS]; | |
120 | #define irq_canonicalize(irq) (irq) | ||
121 | |||
122 | #ifdef CONFIG_SH_CAYMAN | ||
123 | int cayman_irq_demux(int evt); | ||
124 | int cayman_irq_describe(char* p, int irq); | ||
125 | #define irq_demux(x) cayman_irq_demux(x) | ||
126 | #define irq_describe(p, x) cayman_irq_describe(p, x) | ||
127 | #else | ||
128 | #define irq_demux(x) (intc_evt_to_irq[x]) | ||
129 | #define irq_describe(p, x) intc_irq_describe(p, x) | ||
130 | #endif | ||
131 | |||
132 | /* | ||
133 | * Function for "on chip support modules". | ||
134 | */ | ||
135 | |||
136 | /* | ||
137 | * SH-5 supports Priority based interrupts only. | ||
138 | * Interrupt priorities are defined at platform level. | ||
139 | */ | ||
140 | #define set_ipr_data(a, b, c, d) | ||
141 | #define make_ipr_irq(a) | ||
142 | #define make_imask_irq(a) | ||
143 | 117 | ||
144 | #endif /* __ASM_SH64_IRQ_H */ | 118 | #endif /* __ASM_SH64_IRQ_H */ |