diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2011-03-18 12:52:51 -0400 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2011-03-18 12:52:51 -0400 |
commit | a494d3df1e482e3f5552268af5b4b122421b5ee6 (patch) | |
tree | a4d89064edbc851719713bac1097b9d6e053d4e4 | |
parent | e61645a0aa9d96b1df36a1879f9b052ca71a5f22 (diff) |
MN10300: Remove unused mn10300_intc_* functions
No users.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | arch/mn10300/include/asm/intctl-regs.h | 5 | ||||
-rw-r--r-- | arch/mn10300/kernel/irq.c | 25 |
2 files changed, 0 insertions, 30 deletions
diff --git a/arch/mn10300/include/asm/intctl-regs.h b/arch/mn10300/include/asm/intctl-regs.h index 585b708c2bc0..d65bbeebe50a 100644 --- a/arch/mn10300/include/asm/intctl-regs.h +++ b/arch/mn10300/include/asm/intctl-regs.h | |||
@@ -60,11 +60,6 @@ | |||
60 | 60 | ||
61 | #ifndef __ASSEMBLY__ | 61 | #ifndef __ASSEMBLY__ |
62 | extern void set_intr_level(int irq, u16 level); | 62 | extern void set_intr_level(int irq, u16 level); |
63 | extern void mn10300_intc_set_level(unsigned int irq, unsigned int level); | ||
64 | extern void mn10300_intc_clear(unsigned int irq); | ||
65 | extern void mn10300_intc_set(unsigned int irq); | ||
66 | extern void mn10300_intc_enable(unsigned int irq); | ||
67 | extern void mn10300_intc_disable(unsigned int irq); | ||
68 | extern void mn10300_set_lateack_irq_type(int irq); | 63 | extern void mn10300_set_lateack_irq_type(int irq); |
69 | #endif | 64 | #endif |
70 | 65 | ||
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 |