diff options
Diffstat (limited to 'arch/frv/kernel/irq.c')
-rw-r--r-- | arch/frv/kernel/irq.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/arch/frv/kernel/irq.c b/arch/frv/kernel/irq.c index e1ab9f2e43fb..5ac041c7c0a4 100644 --- a/arch/frv/kernel/irq.c +++ b/arch/frv/kernel/irq.c | |||
@@ -97,19 +97,8 @@ int show_interrupts(struct seq_file *p, void *v) | |||
97 | /* | 97 | /* |
98 | * on-CPU PIC operations | 98 | * on-CPU PIC operations |
99 | */ | 99 | */ |
100 | static void frv_cpupic_enable(unsigned int irqlevel) | ||
101 | { | ||
102 | __clr_MASK(irqlevel); | ||
103 | } | ||
104 | |||
105 | static void frv_cpupic_disable(unsigned int irqlevel) | ||
106 | { | ||
107 | __set_MASK(irqlevel); | ||
108 | } | ||
109 | |||
110 | static void frv_cpupic_ack(unsigned int irqlevel) | 100 | static void frv_cpupic_ack(unsigned int irqlevel) |
111 | { | 101 | { |
112 | __set_MASK(irqlevel); | ||
113 | __clr_RC(irqlevel); | 102 | __clr_RC(irqlevel); |
114 | __clr_IRL(); | 103 | __clr_IRL(); |
115 | } | 104 | } |
@@ -138,8 +127,6 @@ static void frv_cpupic_end(unsigned int irqlevel) | |||
138 | 127 | ||
139 | static struct irq_chip frv_cpu_pic = { | 128 | static struct irq_chip frv_cpu_pic = { |
140 | .name = "cpu", | 129 | .name = "cpu", |
141 | .enable = frv_cpupic_enable, | ||
142 | .disable = frv_cpupic_disable, | ||
143 | .ack = frv_cpupic_ack, | 130 | .ack = frv_cpupic_ack, |
144 | .mask = frv_cpupic_mask, | 131 | .mask = frv_cpupic_mask, |
145 | .mask_ack = frv_cpupic_mask_ack, | 132 | .mask_ack = frv_cpupic_mask_ack, |
@@ -156,7 +143,7 @@ static struct irq_chip frv_cpu_pic = { | |||
156 | asmlinkage void do_IRQ(void) | 143 | asmlinkage void do_IRQ(void) |
157 | { | 144 | { |
158 | irq_enter(); | 145 | irq_enter(); |
159 | __do_IRQ(__get_IRL(), __frame); | 146 | generic_handle_irq(__get_IRL(), __frame); |
160 | irq_exit(); | 147 | irq_exit(); |
161 | } | 148 | } |
162 | 149 | ||