diff options
Diffstat (limited to 'arch/mn10300/kernel/irq.c')
-rw-r--r-- | arch/mn10300/kernel/irq.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/mn10300/kernel/irq.c b/arch/mn10300/kernel/irq.c index ac11754ecec5..e19fe8124f4c 100644 --- a/arch/mn10300/kernel/irq.c +++ b/arch/mn10300/kernel/irq.c | |||
@@ -252,31 +252,6 @@ void set_intr_level(int irq, u16 level) | |||
252 | __mask_and_set_icr(irq, GxICR_ENABLE, level); | 252 | __mask_and_set_icr(irq, GxICR_ENABLE, level); |
253 | } | 253 | } |
254 | 254 | ||
255 | void mn10300_intc_set_level(unsigned int irq, unsigned int level) | ||
256 | { | ||
257 | set_intr_level(irq, NUM2GxICR_LEVEL(level) & GxICR_LEVEL); | ||
258 | } | ||
259 | |||
260 | void mn10300_intc_clear(unsigned int irq) | ||
261 | { | ||
262 | __mask_and_set_icr(irq, GxICR_LEVEL | GxICR_ENABLE, GxICR_DETECT); | ||
263 | } | ||
264 | |||
265 | void mn10300_intc_set(unsigned int irq) | ||
266 | { | ||
267 | __mask_and_set_icr(irq, 0, GxICR_REQUEST | GxICR_DETECT); | ||
268 | } | ||
269 | |||
270 | void mn10300_intc_enable(unsigned int irq) | ||
271 | { | ||
272 | mn10300_cpupic_unmask(irq); | ||
273 | } | ||
274 | |||
275 | void mn10300_intc_disable(unsigned int irq) | ||
276 | { | ||
277 | mn10300_cpupic_mask(irq); | ||
278 | } | ||
279 | |||
280 | /* | 255 | /* |
281 | * mark an interrupt to be ACK'd after interrupt handlers have been run rather | 256 | * mark an interrupt to be ACK'd after interrupt handlers have been run rather |
282 | * than before | 257 | * than before |