aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/mac
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2011-07-13 16:33:13 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-11-08 16:35:48 -0500
commit5a2394534b160ce18f9a705cf9de40e77648f8a2 (patch)
tree38d679c3633b4d2154ec68dbcc17ba2c207afb83 /arch/m68k/mac
parent1425df87c25b15400c9f26d57821bcfe01286b2a (diff)
m68k/irq: Remove obsolete IRQ_FLG_* users
The m68k core irq code stopped honoring these flags during the irq restructuring in 2006. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/mac')
-rw-r--r--arch/m68k/mac/iop.c10
-rw-r--r--arch/m68k/mac/oss.c13
-rw-r--r--arch/m68k/mac/via.c22
3 files changed, 17 insertions, 28 deletions
diff --git a/arch/m68k/mac/iop.c b/arch/m68k/mac/iop.c
index 1ad4e9d80eba..a5462cc0bfd6 100644
--- a/arch/m68k/mac/iop.c
+++ b/arch/m68k/mac/iop.c
@@ -305,15 +305,13 @@ void __init iop_register_interrupts(void)
305{ 305{
306 if (iop_ism_present) { 306 if (iop_ism_present) {
307 if (oss_present) { 307 if (oss_present) {
308 if (request_irq(OSS_IRQLEV_IOPISM, iop_ism_irq, 308 if (request_irq(OSS_IRQLEV_IOPISM, iop_ism_irq, 0,
309 IRQ_FLG_LOCK, "ISM IOP", 309 "ISM IOP", (void *)IOP_NUM_ISM))
310 (void *) IOP_NUM_ISM))
311 pr_err("Couldn't register ISM IOP interrupt\n"); 310 pr_err("Couldn't register ISM IOP interrupt\n");
312 oss_irq_enable(IRQ_MAC_ADB); 311 oss_irq_enable(IRQ_MAC_ADB);
313 } else { 312 } else {
314 if (request_irq(IRQ_VIA2_0, iop_ism_irq, 313 if (request_irq(IRQ_VIA2_0, iop_ism_irq, 0, "ISM IOP",
315 IRQ_FLG_LOCK|IRQ_FLG_FAST, "ISM IOP", 314 (void *)IOP_NUM_ISM))
316 (void *) IOP_NUM_ISM))
317 pr_err("Couldn't register ISM IOP interrupt\n"); 315 pr_err("Couldn't register ISM IOP interrupt\n");
318 } 316 }
319 if (!iop_alive(iop_base[IOP_NUM_ISM])) { 317 if (!iop_alive(iop_base[IOP_NUM_ISM])) {
diff --git a/arch/m68k/mac/oss.c b/arch/m68k/mac/oss.c
index ad512419affc..1eb60f071007 100644
--- a/arch/m68k/mac/oss.c
+++ b/arch/m68k/mac/oss.c
@@ -65,17 +65,14 @@ void __init oss_init(void)
65 65
66void __init oss_register_interrupts(void) 66void __init oss_register_interrupts(void)
67{ 67{
68 if (request_irq(OSS_IRQLEV_SCSI, oss_irq, IRQ_FLG_LOCK, 68 if (request_irq(OSS_IRQLEV_SCSI, oss_irq, 0, "scsi", (void *)oss))
69 "scsi", (void *) oss))
70 pr_err("Couldn't register %s interrupt\n", "scsi"); 69 pr_err("Couldn't register %s interrupt\n", "scsi");
71 if (request_irq(OSS_IRQLEV_NUBUS, oss_nubus_irq, IRQ_FLG_LOCK, 70 if (request_irq(OSS_IRQLEV_NUBUS, oss_nubus_irq, 0, "nubus",
72 "nubus", (void *) oss)) 71 (void *)oss))
73 pr_err("Couldn't register %s interrupt\n", "nubus"); 72 pr_err("Couldn't register %s interrupt\n", "nubus");
74 if (request_irq(OSS_IRQLEV_SOUND, oss_irq, IRQ_FLG_LOCK, 73 if (request_irq(OSS_IRQLEV_SOUND, oss_irq, 0, "sound", (void *)oss))
75 "sound", (void *) oss))
76 pr_err("Couldn't register %s interrupt\n", "sound"); 74 pr_err("Couldn't register %s interrupt\n", "sound");
77 if (request_irq(OSS_IRQLEV_VIA1, via1_irq, IRQ_FLG_LOCK, 75 if (request_irq(OSS_IRQLEV_VIA1, via1_irq, 0, "via1", (void *)via1))
78 "via1", (void *) via1))
79 pr_err("Couldn't register %s interrupt\n", "via1"); 76 pr_err("Couldn't register %s interrupt\n", "via1");
80} 77}
81 78
diff --git a/arch/m68k/mac/via.c b/arch/m68k/mac/via.c
index 067857046137..af9ed33bec14 100644
--- a/arch/m68k/mac/via.c
+++ b/arch/m68k/mac/via.c
@@ -281,7 +281,7 @@ void __init via_init_clock(irq_handler_t func)
281 via1[vT1CL] = MAC_CLOCK_LOW; 281 via1[vT1CL] = MAC_CLOCK_LOW;
282 via1[vT1CH] = MAC_CLOCK_HIGH; 282 via1[vT1CH] = MAC_CLOCK_HIGH;
283 283
284 if (request_irq(IRQ_MAC_TIMER_1, func, IRQ_FLG_LOCK, "timer", func)) 284 if (request_irq(IRQ_MAC_TIMER_1, func, 0, "timer", func))
285 pr_err("Couldn't register %s interrupt\n", "timer"); 285 pr_err("Couldn't register %s interrupt\n", "timer");
286} 286}
287 287
@@ -292,25 +292,19 @@ void __init via_init_clock(irq_handler_t func)
292void __init via_register_interrupts(void) 292void __init via_register_interrupts(void)
293{ 293{
294 if (via_alt_mapping) { 294 if (via_alt_mapping) {
295 if (request_irq(IRQ_AUTO_1, via1_irq, 295 if (request_irq(IRQ_AUTO_1, via1_irq, 0, "software",
296 IRQ_FLG_LOCK|IRQ_FLG_FAST, "software", 296 (void *)via1))
297 (void *) via1))
298 pr_err("Couldn't register %s interrupt\n", "software"); 297 pr_err("Couldn't register %s interrupt\n", "software");
299 if (request_irq(IRQ_AUTO_6, via1_irq, 298 if (request_irq(IRQ_AUTO_6, via1_irq, 0, "via1", (void *)via1))
300 IRQ_FLG_LOCK|IRQ_FLG_FAST, "via1",
301 (void *) via1))
302 pr_err("Couldn't register %s interrupt\n", "via1"); 299 pr_err("Couldn't register %s interrupt\n", "via1");
303 } else { 300 } else {
304 if (request_irq(IRQ_AUTO_1, via1_irq, 301 if (request_irq(IRQ_AUTO_1, via1_irq, 0, "via1", (void *)via1))
305 IRQ_FLG_LOCK|IRQ_FLG_FAST, "via1",
306 (void *) via1))
307 pr_err("Couldn't register %s interrupt\n", "via1"); 302 pr_err("Couldn't register %s interrupt\n", "via1");
308 } 303 }
309 if (request_irq(IRQ_AUTO_2, via2_irq, IRQ_FLG_LOCK|IRQ_FLG_FAST, 304 if (request_irq(IRQ_AUTO_2, via2_irq, 0, "via2", (void *)via2))
310 "via2", (void *) via2))
311 pr_err("Couldn't register %s interrupt\n", "via2"); 305 pr_err("Couldn't register %s interrupt\n", "via2");
312 if (request_irq(IRQ_MAC_NUBUS, via_nubus_irq, 306 if (request_irq(IRQ_MAC_NUBUS, via_nubus_irq, 0, "nubus",
313 IRQ_FLG_LOCK|IRQ_FLG_FAST, "nubus", (void *) via2)) 307 (void *)via2))
314 pr_err("Couldn't register %s interrupt\n", "nubus"); 308 pr_err("Couldn't register %s interrupt\n", "nubus");
315} 309}
316 310