diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-07-01 14:39:19 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2011-11-08 16:35:48 -0500 |
commit | 1425df87c25b15400c9f26d57821bcfe01286b2a (patch) | |
tree | 845f69013de5ebb1b9ebfe4746c096664a505567 | |
parent | edb347256c44366888debb4f9e8477ac700a9026 (diff) |
m68k/irq: Rename {,__}m68k_handle_int()
- Rename m68k_handle_int() to generic_handle_irq(), and drop the unneeded
asmlinkage,
- Rename __m68k_handle_int() to do_IRQ().
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
-rw-r--r-- | arch/m68k/amiga/amiints.c | 24 | ||||
-rw-r--r-- | arch/m68k/amiga/cia.c | 2 | ||||
-rw-r--r-- | arch/m68k/apollo/dn_ints.c | 2 | ||||
-rw-r--r-- | arch/m68k/include/asm/irq.h | 4 | ||||
-rw-r--r-- | arch/m68k/kernel/entry_mm.S | 4 | ||||
-rw-r--r-- | arch/m68k/kernel/ints.c | 10 | ||||
-rw-r--r-- | arch/m68k/mac/baboon.c | 2 | ||||
-rw-r--r-- | arch/m68k/mac/oss.c | 4 | ||||
-rw-r--r-- | arch/m68k/mac/psc.c | 2 | ||||
-rw-r--r-- | arch/m68k/mac/via.c | 6 | ||||
-rw-r--r-- | arch/m68k/q40/q40ints.c | 8 | ||||
-rw-r--r-- | arch/m68k/sun3/sun3ints.c | 2 |
12 files changed, 35 insertions, 35 deletions
diff --git a/arch/m68k/amiga/amiints.c b/arch/m68k/amiga/amiints.c index 8af5ea3eea67..0daa7fce9df1 100644 --- a/arch/m68k/amiga/amiints.c +++ b/arch/m68k/amiga/amiints.c | |||
@@ -124,19 +124,19 @@ static irqreturn_t ami_int1(int irq, void *dev_id) | |||
124 | /* if serial transmit buffer empty, interrupt */ | 124 | /* if serial transmit buffer empty, interrupt */ |
125 | if (ints & IF_TBE) { | 125 | if (ints & IF_TBE) { |
126 | amiga_custom.intreq = IF_TBE; | 126 | amiga_custom.intreq = IF_TBE; |
127 | m68k_handle_int(IRQ_AMIGA_TBE); | 127 | generic_handle_irq(IRQ_AMIGA_TBE); |
128 | } | 128 | } |
129 | 129 | ||
130 | /* if floppy disk transfer complete, interrupt */ | 130 | /* if floppy disk transfer complete, interrupt */ |
131 | if (ints & IF_DSKBLK) { | 131 | if (ints & IF_DSKBLK) { |
132 | amiga_custom.intreq = IF_DSKBLK; | 132 | amiga_custom.intreq = IF_DSKBLK; |
133 | m68k_handle_int(IRQ_AMIGA_DSKBLK); | 133 | generic_handle_irq(IRQ_AMIGA_DSKBLK); |
134 | } | 134 | } |
135 | 135 | ||
136 | /* if software interrupt set, interrupt */ | 136 | /* if software interrupt set, interrupt */ |
137 | if (ints & IF_SOFT) { | 137 | if (ints & IF_SOFT) { |
138 | amiga_custom.intreq = IF_SOFT; | 138 | amiga_custom.intreq = IF_SOFT; |
139 | m68k_handle_int(IRQ_AMIGA_SOFT); | 139 | generic_handle_irq(IRQ_AMIGA_SOFT); |
140 | } | 140 | } |
141 | return IRQ_HANDLED; | 141 | return IRQ_HANDLED; |
142 | } | 142 | } |
@@ -148,19 +148,19 @@ static irqreturn_t ami_int3(int irq, void *dev_id) | |||
148 | /* if a blitter interrupt */ | 148 | /* if a blitter interrupt */ |
149 | if (ints & IF_BLIT) { | 149 | if (ints & IF_BLIT) { |
150 | amiga_custom.intreq = IF_BLIT; | 150 | amiga_custom.intreq = IF_BLIT; |
151 | m68k_handle_int(IRQ_AMIGA_BLIT); | 151 | generic_handle_irq(IRQ_AMIGA_BLIT); |
152 | } | 152 | } |
153 | 153 | ||
154 | /* if a copper interrupt */ | 154 | /* if a copper interrupt */ |
155 | if (ints & IF_COPER) { | 155 | if (ints & IF_COPER) { |
156 | amiga_custom.intreq = IF_COPER; | 156 | amiga_custom.intreq = IF_COPER; |
157 | m68k_handle_int(IRQ_AMIGA_COPPER); | 157 | generic_handle_irq(IRQ_AMIGA_COPPER); |
158 | } | 158 | } |
159 | 159 | ||
160 | /* if a vertical blank interrupt */ | 160 | /* if a vertical blank interrupt */ |
161 | if (ints & IF_VERTB) { | 161 | if (ints & IF_VERTB) { |
162 | amiga_custom.intreq = IF_VERTB; | 162 | amiga_custom.intreq = IF_VERTB; |
163 | m68k_handle_int(IRQ_AMIGA_VERTB); | 163 | generic_handle_irq(IRQ_AMIGA_VERTB); |
164 | } | 164 | } |
165 | return IRQ_HANDLED; | 165 | return IRQ_HANDLED; |
166 | } | 166 | } |
@@ -172,25 +172,25 @@ static irqreturn_t ami_int4(int irq, void *dev_id) | |||
172 | /* if audio 0 interrupt */ | 172 | /* if audio 0 interrupt */ |
173 | if (ints & IF_AUD0) { | 173 | if (ints & IF_AUD0) { |
174 | amiga_custom.intreq = IF_AUD0; | 174 | amiga_custom.intreq = IF_AUD0; |
175 | m68k_handle_int(IRQ_AMIGA_AUD0); | 175 | generic_handle_irq(IRQ_AMIGA_AUD0); |
176 | } | 176 | } |
177 | 177 | ||
178 | /* if audio 1 interrupt */ | 178 | /* if audio 1 interrupt */ |
179 | if (ints & IF_AUD1) { | 179 | if (ints & IF_AUD1) { |
180 | amiga_custom.intreq = IF_AUD1; | 180 | amiga_custom.intreq = IF_AUD1; |
181 | m68k_handle_int(IRQ_AMIGA_AUD1); | 181 | generic_handle_irq(IRQ_AMIGA_AUD1); |
182 | } | 182 | } |
183 | 183 | ||
184 | /* if audio 2 interrupt */ | 184 | /* if audio 2 interrupt */ |
185 | if (ints & IF_AUD2) { | 185 | if (ints & IF_AUD2) { |
186 | amiga_custom.intreq = IF_AUD2; | 186 | amiga_custom.intreq = IF_AUD2; |
187 | m68k_handle_int(IRQ_AMIGA_AUD2); | 187 | generic_handle_irq(IRQ_AMIGA_AUD2); |
188 | } | 188 | } |
189 | 189 | ||
190 | /* if audio 3 interrupt */ | 190 | /* if audio 3 interrupt */ |
191 | if (ints & IF_AUD3) { | 191 | if (ints & IF_AUD3) { |
192 | amiga_custom.intreq = IF_AUD3; | 192 | amiga_custom.intreq = IF_AUD3; |
193 | m68k_handle_int(IRQ_AMIGA_AUD3); | 193 | generic_handle_irq(IRQ_AMIGA_AUD3); |
194 | } | 194 | } |
195 | return IRQ_HANDLED; | 195 | return IRQ_HANDLED; |
196 | } | 196 | } |
@@ -202,13 +202,13 @@ static irqreturn_t ami_int5(int irq, void *dev_id) | |||
202 | /* if serial receive buffer full interrupt */ | 202 | /* if serial receive buffer full interrupt */ |
203 | if (ints & IF_RBF) { | 203 | if (ints & IF_RBF) { |
204 | /* acknowledge of IF_RBF must be done by the serial interrupt */ | 204 | /* acknowledge of IF_RBF must be done by the serial interrupt */ |
205 | m68k_handle_int(IRQ_AMIGA_RBF); | 205 | generic_handle_irq(IRQ_AMIGA_RBF); |
206 | } | 206 | } |
207 | 207 | ||
208 | /* if a disk sync interrupt */ | 208 | /* if a disk sync interrupt */ |
209 | if (ints & IF_DSKSYN) { | 209 | if (ints & IF_DSKSYN) { |
210 | amiga_custom.intreq = IF_DSKSYN; | 210 | amiga_custom.intreq = IF_DSKSYN; |
211 | m68k_handle_int(IRQ_AMIGA_DSKSYN); | 211 | generic_handle_irq(IRQ_AMIGA_DSKSYN); |
212 | } | 212 | } |
213 | return IRQ_HANDLED; | 213 | return IRQ_HANDLED; |
214 | } | 214 | } |
diff --git a/arch/m68k/amiga/cia.c b/arch/m68k/amiga/cia.c index 84663ae824ef..18c0e29976e3 100644 --- a/arch/m68k/amiga/cia.c +++ b/arch/m68k/amiga/cia.c | |||
@@ -93,7 +93,7 @@ static irqreturn_t cia_handler(int irq, void *dev_id) | |||
93 | amiga_custom.intreq = base->int_mask; | 93 | amiga_custom.intreq = base->int_mask; |
94 | for (; ints; mach_irq++, ints >>= 1) { | 94 | for (; ints; mach_irq++, ints >>= 1) { |
95 | if (ints & 1) | 95 | if (ints & 1) |
96 | m68k_handle_int(mach_irq); | 96 | generic_handle_irq(mach_irq); |
97 | } | 97 | } |
98 | return IRQ_HANDLED; | 98 | return IRQ_HANDLED; |
99 | } | 99 | } |
diff --git a/arch/m68k/apollo/dn_ints.c b/arch/m68k/apollo/dn_ints.c index bdc44282fdba..4b764312aed0 100644 --- a/arch/m68k/apollo/dn_ints.c +++ b/arch/m68k/apollo/dn_ints.c | |||
@@ -6,7 +6,7 @@ | |||
6 | 6 | ||
7 | void dn_process_int(unsigned int irq, struct pt_regs *fp) | 7 | void dn_process_int(unsigned int irq, struct pt_regs *fp) |
8 | { | 8 | { |
9 | __m68k_handle_int(irq, fp); | 9 | do_IRQ(irq, fp); |
10 | 10 | ||
11 | *(volatile unsigned char *)(pica)=0x20; | 11 | *(volatile unsigned char *)(pica)=0x20; |
12 | *(volatile unsigned char *)(picb)=0x20; | 12 | *(volatile unsigned char *)(picb)=0x20; |
diff --git a/arch/m68k/include/asm/irq.h b/arch/m68k/include/asm/irq.h index d0b7efd1f1e2..9a2bae8ef5b7 100644 --- a/arch/m68k/include/asm/irq.h +++ b/arch/m68k/include/asm/irq.h | |||
@@ -118,8 +118,8 @@ extern void m68k_setup_irq_chip(struct irq_chip *, unsigned int, unsigned int); | |||
118 | #define m68k_setup_irq_controller(chip, dummy, irq, cnt) \ | 118 | #define m68k_setup_irq_controller(chip, dummy, irq, cnt) \ |
119 | m68k_setup_irq_chip((chip), (irq), (cnt)) | 119 | m68k_setup_irq_chip((chip), (irq), (cnt)) |
120 | 120 | ||
121 | asmlinkage void m68k_handle_int(unsigned int); | 121 | extern void generic_handle_irq(unsigned int); |
122 | asmlinkage void __m68k_handle_int(unsigned int, struct pt_regs *); | 122 | asmlinkage void do_IRQ(int irq, struct pt_regs *regs); |
123 | 123 | ||
124 | #else | 124 | #else |
125 | #define irq_canonicalize(irq) (irq) | 125 | #define irq_canonicalize(irq) (irq) |
diff --git a/arch/m68k/kernel/entry_mm.S b/arch/m68k/kernel/entry_mm.S index bd0ec05263b2..f5927d0927b4 100644 --- a/arch/m68k/kernel/entry_mm.S +++ b/arch/m68k/kernel/entry_mm.S | |||
@@ -207,7 +207,7 @@ ENTRY(auto_inthandler) | |||
207 | movel %sp,%sp@- | 207 | movel %sp,%sp@- |
208 | movel %d0,%sp@- | put vector # on stack | 208 | movel %d0,%sp@- | put vector # on stack |
209 | auto_irqhandler_fixup = . + 2 | 209 | auto_irqhandler_fixup = . + 2 |
210 | jsr __m68k_handle_int | process the IRQ | 210 | jsr do_IRQ | process the IRQ |
211 | addql #8,%sp | pop parameters off stack | 211 | addql #8,%sp | pop parameters off stack |
212 | 212 | ||
213 | ret_from_interrupt: | 213 | ret_from_interrupt: |
@@ -241,7 +241,7 @@ user_irqvec_fixup = . + 2 | |||
241 | movel %sp,%sp@- | 241 | movel %sp,%sp@- |
242 | movel %d0,%sp@- | put vector # on stack | 242 | movel %d0,%sp@- | put vector # on stack |
243 | user_irqhandler_fixup = . + 2 | 243 | user_irqhandler_fixup = . + 2 |
244 | jsr __m68k_handle_int | process the IRQ | 244 | jsr do_IRQ | process the IRQ |
245 | addql #8,%sp | pop parameters off stack | 245 | addql #8,%sp | pop parameters off stack |
246 | 246 | ||
247 | subqb #1,%curptr@(TASK_INFO+TINFO_PREEMPT+1) | 247 | subqb #1,%curptr@(TASK_INFO+TINFO_PREEMPT+1) |
diff --git a/arch/m68k/kernel/ints.c b/arch/m68k/kernel/ints.c index 4f9868e160bd..15dbbe297334 100644 --- a/arch/m68k/kernel/ints.c +++ b/arch/m68k/kernel/ints.c | |||
@@ -110,7 +110,7 @@ void __init init_IRQ(void) | |||
110 | * @handler: called from auto vector interrupts | 110 | * @handler: called from auto vector interrupts |
111 | * | 111 | * |
112 | * setup the handler to be called from auto vector interrupts instead of the | 112 | * setup the handler to be called from auto vector interrupts instead of the |
113 | * standard __m68k_handle_int(), it will be called with irq numbers in the range | 113 | * standard do_IRQ(), it will be called with irq numbers in the range |
114 | * from IRQ_AUTO_1 - IRQ_AUTO_7. | 114 | * from IRQ_AUTO_1 - IRQ_AUTO_7. |
115 | */ | 115 | */ |
116 | void __init m68k_setup_auto_interrupt(void (*handler)(unsigned int, struct pt_regs *)) | 116 | void __init m68k_setup_auto_interrupt(void (*handler)(unsigned int, struct pt_regs *)) |
@@ -129,7 +129,7 @@ void __init m68k_setup_auto_interrupt(void (*handler)(unsigned int, struct pt_re | |||
129 | * setup user vector interrupts, this includes activating the specified range | 129 | * setup user vector interrupts, this includes activating the specified range |
130 | * of interrupts, only then these interrupts can be requested (note: this is | 130 | * of interrupts, only then these interrupts can be requested (note: this is |
131 | * different from auto vector interrupts). An optional handler can be installed | 131 | * different from auto vector interrupts). An optional handler can be installed |
132 | * to be called instead of the default __m68k_handle_int(), it will be called | 132 | * to be called instead of the default do_IRQ(), it will be called |
133 | * with irq numbers starting from IRQ_USER. | 133 | * with irq numbers starting from IRQ_USER. |
134 | */ | 134 | */ |
135 | void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt, | 135 | void __init m68k_setup_user_interrupt(unsigned int vec, unsigned int cnt, |
@@ -398,7 +398,7 @@ unsigned int irq_canonicalize(unsigned int irq) | |||
398 | 398 | ||
399 | EXPORT_SYMBOL(irq_canonicalize); | 399 | EXPORT_SYMBOL(irq_canonicalize); |
400 | 400 | ||
401 | asmlinkage void m68k_handle_int(unsigned int irq) | 401 | void generic_handle_irq(unsigned int irq) |
402 | { | 402 | { |
403 | struct irq_data *node; | 403 | struct irq_data *node; |
404 | kstat_cpu(0).irqs[irq]++; | 404 | kstat_cpu(0).irqs[irq]++; |
@@ -409,11 +409,11 @@ asmlinkage void m68k_handle_int(unsigned int irq) | |||
409 | } while (node); | 409 | } while (node); |
410 | } | 410 | } |
411 | 411 | ||
412 | asmlinkage void __m68k_handle_int(unsigned int irq, struct pt_regs *regs) | 412 | asmlinkage void do_IRQ(int irq, struct pt_regs *regs) |
413 | { | 413 | { |
414 | struct pt_regs *old_regs; | 414 | struct pt_regs *old_regs; |
415 | old_regs = set_irq_regs(regs); | 415 | old_regs = set_irq_regs(regs); |
416 | m68k_handle_int(irq); | 416 | generic_handle_irq(irq); |
417 | set_irq_regs(old_regs); | 417 | set_irq_regs(old_regs); |
418 | } | 418 | } |
419 | 419 | ||
diff --git a/arch/m68k/mac/baboon.c b/arch/m68k/mac/baboon.c index 2a96bebd8969..f264791b8694 100644 --- a/arch/m68k/mac/baboon.c +++ b/arch/m68k/mac/baboon.c | |||
@@ -72,7 +72,7 @@ static irqreturn_t baboon_irq(int irq, void *dev_id) | |||
72 | do { | 72 | do { |
73 | if (events & irq_bit) { | 73 | if (events & irq_bit) { |
74 | baboon->mb_ifr &= ~irq_bit; | 74 | baboon->mb_ifr &= ~irq_bit; |
75 | m68k_handle_int(irq_num); | 75 | generic_handle_irq(irq_num); |
76 | } | 76 | } |
77 | irq_bit <<= 1; | 77 | irq_bit <<= 1; |
78 | irq_num++; | 78 | irq_num++; |
diff --git a/arch/m68k/mac/oss.c b/arch/m68k/mac/oss.c index a9c0f5ab4cc0..ad512419affc 100644 --- a/arch/m68k/mac/oss.c +++ b/arch/m68k/mac/oss.c | |||
@@ -113,7 +113,7 @@ static irqreturn_t oss_irq(int irq, void *dev_id) | |||
113 | /* FIXME: call sound handler */ | 113 | /* FIXME: call sound handler */ |
114 | } else if (events & OSS_IP_SCSI) { | 114 | } else if (events & OSS_IP_SCSI) { |
115 | oss->irq_pending &= ~OSS_IP_SCSI; | 115 | oss->irq_pending &= ~OSS_IP_SCSI; |
116 | m68k_handle_int(IRQ_MAC_SCSI); | 116 | generic_handle_irq(IRQ_MAC_SCSI); |
117 | } else { | 117 | } else { |
118 | /* FIXME: error check here? */ | 118 | /* FIXME: error check here? */ |
119 | } | 119 | } |
@@ -148,7 +148,7 @@ static irqreturn_t oss_nubus_irq(int irq, void *dev_id) | |||
148 | irq_bit >>= 1; | 148 | irq_bit >>= 1; |
149 | if (events & irq_bit) { | 149 | if (events & irq_bit) { |
150 | oss->irq_pending &= ~irq_bit; | 150 | oss->irq_pending &= ~irq_bit; |
151 | m68k_handle_int(NUBUS_SOURCE_BASE + i); | 151 | generic_handle_irq(NUBUS_SOURCE_BASE + i); |
152 | } | 152 | } |
153 | } while(events & (irq_bit - 1)); | 153 | } while(events & (irq_bit - 1)); |
154 | return IRQ_HANDLED; | 154 | return IRQ_HANDLED; |
diff --git a/arch/m68k/mac/psc.c b/arch/m68k/mac/psc.c index a4c3eb60706e..26c2b6595808 100644 --- a/arch/m68k/mac/psc.c +++ b/arch/m68k/mac/psc.c | |||
@@ -152,7 +152,7 @@ irqreturn_t psc_irq(int irq, void *dev_id) | |||
152 | do { | 152 | do { |
153 | if (events & irq_bit) { | 153 | if (events & irq_bit) { |
154 | psc_write_byte(pIFR, irq_bit); | 154 | psc_write_byte(pIFR, irq_bit); |
155 | m68k_handle_int(irq_num); | 155 | generic_handle_irq(irq_num); |
156 | } | 156 | } |
157 | irq_num++; | 157 | irq_num++; |
158 | irq_bit <<= 1; | 158 | irq_bit <<= 1; |
diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c index e71166daec6a..067857046137 100644 --- a/arch/m68k/mac/via.c +++ b/arch/m68k/mac/via.c | |||
@@ -460,7 +460,7 @@ irqreturn_t via1_irq(int irq, void *dev_id) | |||
460 | do { | 460 | do { |
461 | if (events & irq_bit) { | 461 | if (events & irq_bit) { |
462 | via1[vIFR] = irq_bit; | 462 | via1[vIFR] = irq_bit; |
463 | m68k_handle_int(irq_num); | 463 | generic_handle_irq(irq_num); |
464 | } | 464 | } |
465 | ++irq_num; | 465 | ++irq_num; |
466 | irq_bit <<= 1; | 466 | irq_bit <<= 1; |
@@ -482,7 +482,7 @@ irqreturn_t via2_irq(int irq, void *dev_id) | |||
482 | do { | 482 | do { |
483 | if (events & irq_bit) { | 483 | if (events & irq_bit) { |
484 | via2[gIFR] = irq_bit | rbv_clear; | 484 | via2[gIFR] = irq_bit | rbv_clear; |
485 | m68k_handle_int(irq_num); | 485 | generic_handle_irq(irq_num); |
486 | } | 486 | } |
487 | ++irq_num; | 487 | ++irq_num; |
488 | irq_bit <<= 1; | 488 | irq_bit <<= 1; |
@@ -514,7 +514,7 @@ irqreturn_t via_nubus_irq(int irq, void *dev_id) | |||
514 | do { | 514 | do { |
515 | if (events & slot_bit) { | 515 | if (events & slot_bit) { |
516 | events &= ~slot_bit; | 516 | events &= ~slot_bit; |
517 | m68k_handle_int(slot_irq); | 517 | generic_handle_irq(slot_irq); |
518 | } | 518 | } |
519 | --slot_irq; | 519 | --slot_irq; |
520 | slot_bit >>= 1; | 520 | slot_bit >>= 1; |
diff --git a/arch/m68k/q40/q40ints.c b/arch/m68k/q40/q40ints.c index a8a5ce8b18fc..afe600c03659 100644 --- a/arch/m68k/q40/q40ints.c +++ b/arch/m68k/q40/q40ints.c | |||
@@ -220,11 +220,11 @@ static void q40_irq_handler(unsigned int irq, struct pt_regs *fp) | |||
220 | switch (irq) { | 220 | switch (irq) { |
221 | case 4: | 221 | case 4: |
222 | case 6: | 222 | case 6: |
223 | __m68k_handle_int(Q40_IRQ_SAMPLE, fp); | 223 | do_IRQ(Q40_IRQ_SAMPLE, fp); |
224 | return; | 224 | return; |
225 | } | 225 | } |
226 | if (mir & Q40_IRQ_FRAME_MASK) { | 226 | if (mir & Q40_IRQ_FRAME_MASK) { |
227 | __m68k_handle_int(Q40_IRQ_FRAME, fp); | 227 | do_IRQ(Q40_IRQ_FRAME, fp); |
228 | master_outb(-1, FRAME_CLEAR_REG); | 228 | master_outb(-1, FRAME_CLEAR_REG); |
229 | } | 229 | } |
230 | if ((mir & Q40_IRQ_SER_MASK) || (mir & Q40_IRQ_EXT_MASK)) { | 230 | if ((mir & Q40_IRQ_SER_MASK) || (mir & Q40_IRQ_EXT_MASK)) { |
@@ -259,7 +259,7 @@ static void q40_irq_handler(unsigned int irq, struct pt_regs *fp) | |||
259 | goto iirq; | 259 | goto iirq; |
260 | } | 260 | } |
261 | q40_state[irq] |= IRQ_INPROGRESS; | 261 | q40_state[irq] |= IRQ_INPROGRESS; |
262 | __m68k_handle_int(irq, fp); | 262 | do_IRQ(irq, fp); |
263 | q40_state[irq] &= ~IRQ_INPROGRESS; | 263 | q40_state[irq] &= ~IRQ_INPROGRESS; |
264 | 264 | ||
265 | /* naively enable everything, if that fails than */ | 265 | /* naively enable everything, if that fails than */ |
@@ -290,7 +290,7 @@ static void q40_irq_handler(unsigned int irq, struct pt_regs *fp) | |||
290 | mir = master_inb(IIRQ_REG); | 290 | mir = master_inb(IIRQ_REG); |
291 | /* should test whether keyboard irq is really enabled, doing it in defhand */ | 291 | /* should test whether keyboard irq is really enabled, doing it in defhand */ |
292 | if (mir & Q40_IRQ_KEYB_MASK) | 292 | if (mir & Q40_IRQ_KEYB_MASK) |
293 | __m68k_handle_int(Q40_IRQ_KEYBOARD, fp); | 293 | do_IRQ(Q40_IRQ_KEYBOARD, fp); |
294 | 294 | ||
295 | return; | 295 | return; |
296 | } | 296 | } |
diff --git a/arch/m68k/sun3/sun3ints.c b/arch/m68k/sun3/sun3ints.c index 20461278e535..20ffee7dc319 100644 --- a/arch/m68k/sun3/sun3ints.c +++ b/arch/m68k/sun3/sun3ints.c | |||
@@ -83,7 +83,7 @@ static void sun3_inthandle(unsigned int irq, struct pt_regs *fp) | |||
83 | { | 83 | { |
84 | *sun3_intreg &= ~(1 << irq); | 84 | *sun3_intreg &= ~(1 << irq); |
85 | 85 | ||
86 | __m68k_handle_int(irq, fp); | 86 | do_IRQ(irq, fp); |
87 | } | 87 | } |
88 | 88 | ||
89 | static void sun3_irq_enable(struct irq_data *data) | 89 | static void sun3_irq_enable(struct irq_data *data) |