Commit 7832bb5d450aefa45b6dac3b3140eade66bb12ad

Authored by Yong Zhang
Committed by Mike Frysinger
1 parent 23405b024d

Blackfin: irq: remove IRQF_DISABLED

This flag is a NOOP and can be removed now.

Signed-off-by: Yong Zhang <yong.zhang0@gmail.com>
Acked-by: Bob Liu <lliubbo@kernel.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Showing 8 changed files with 8 additions and 11 deletions Side-by-side Diff

arch/blackfin/kernel/time-ts.c
... ... @@ -188,8 +188,7 @@
188 188  
189 189 static struct irqaction gptmr0_irq = {
190 190 .name = "Blackfin GPTimer0",
191   - .flags = IRQF_DISABLED | IRQF_TIMER | \
192   - IRQF_IRQPOLL | IRQF_PERCPU,
  191 + .flags = IRQF_TIMER | IRQF_IRQPOLL | IRQF_PERCPU,
193 192 .handler = bfin_gptmr0_interrupt,
194 193 };
195 194  
... ... @@ -297,8 +296,7 @@
297 296  
298 297 static struct irqaction coretmr_irq = {
299 298 .name = "Blackfin CoreTimer",
300   - .flags = IRQF_DISABLED | IRQF_TIMER | \
301   - IRQF_IRQPOLL | IRQF_PERCPU,
  299 + .flags = IRQF_TIMER | IRQF_IRQPOLL | IRQF_PERCPU,
302 300 .handler = bfin_coretmr_interrupt,
303 301 };
304 302  
arch/blackfin/kernel/time.c
... ... @@ -25,7 +25,6 @@
25 25  
26 26 static struct irqaction bfin_timer_irq = {
27 27 .name = "Blackfin Timer Tick",
28   - .flags = IRQF_DISABLED
29 28 };
30 29  
31 30 #if defined(CONFIG_IPIPE)
arch/blackfin/mach-bf537/boards/cm_bf537e.c
... ... @@ -605,7 +605,7 @@
605 605  
606 606 static struct pata_platform_info bfin_pata_platform_data = {
607 607 .ioport_shift = 2,
608   - .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED,
  608 + .irq_type = IRQF_TRIGGER_HIGH,
609 609 };
610 610  
611 611 static struct resource bfin_pata_resources[] = {
arch/blackfin/mach-bf537/boards/cm_bf537u.c
... ... @@ -570,7 +570,7 @@
570 570  
571 571 static struct pata_platform_info bfin_pata_platform_data = {
572 572 .ioport_shift = 2,
573   - .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED,
  573 + .irq_type = IRQF_TRIGGER_HIGH,
574 574 };
575 575  
576 576 static struct resource bfin_pata_resources[] = {
arch/blackfin/mach-bf537/boards/stamp.c
... ... @@ -2365,7 +2365,7 @@
2365 2365 #define PATA_INT IRQ_PF5
2366 2366 static struct pata_platform_info bfin_pata_platform_data = {
2367 2367 .ioport_shift = 1,
2368   - .irq_flags = IRQF_TRIGGER_HIGH | IRQF_DISABLED,
  2368 + .irq_flags = IRQF_TRIGGER_HIGH,
2369 2369 };
2370 2370  
2371 2371 static struct resource bfin_pata_resources[] = {
arch/blackfin/mach-bf537/boards/tcm_bf537.c
... ... @@ -572,7 +572,7 @@
572 572  
573 573 static struct pata_platform_info bfin_pata_platform_data = {
574 574 .ioport_shift = 2,
575   - .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED,
  575 + .irq_type = IRQF_TRIGGER_HIGH,
576 576 };
577 577  
578 578 static struct resource bfin_pata_resources[] = {
arch/blackfin/mach-bf561/boards/cm_bf561.c
... ... @@ -348,7 +348,7 @@
348 348  
349 349 static struct pata_platform_info bfin_pata_platform_data = {
350 350 .ioport_shift = 2,
351   - .irq_type = IRQF_TRIGGER_HIGH | IRQF_DISABLED,
  351 + .irq_type = IRQF_TRIGGER_HIGH,
352 352 };
353 353  
354 354 static struct resource bfin_pata_resources[] = {
arch/blackfin/mach-bf561/smp.c
... ... @@ -114,7 +114,7 @@
114 114 int ret;
115 115 const char *name = (irq == IRQ_SUPPLE_0) ? supple0 : supple1;
116 116  
117   - ret = request_irq(irq, handler, IRQF_DISABLED | IRQF_PERCPU, name, handler);
  117 + ret = request_irq(irq, handler, IRQF_PERCPU, name, handler);
118 118 if (ret)
119 119 panic("Cannot request %s for IPI service", name);
120 120 }