diff options
author | Michael Opdenacker <michael.opdenacker@free-electrons.com> | 2013-09-07 03:19:25 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-10-03 16:24:36 -0400 |
commit | fe806d04d0ed02f87549d2a1a2372e703220b376 (patch) | |
tree | 9bcd83a25edf9a026410c658589f8048a09ffa56 | |
parent | de26804b60d460a5ad13400d86c367ed16c6393d (diff) |
ARM: OMAP: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from OMAP code
It's a NOOP since 2.6.35, and will be removed one day.
Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
-rw-r--r-- | arch/arm/mach-omap1/fpga.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-omap1/pm.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap1/time.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap1/timer32k.c | 2 | ||||
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 2 | ||||
-rw-r--r-- | arch/arm/plat-omap/dma.c | 1 |
6 files changed, 4 insertions, 7 deletions
diff --git a/arch/arm/mach-omap1/fpga.c b/arch/arm/mach-omap1/fpga.c index 8bd71b2d0967..3c0e42219200 100644 --- a/arch/arm/mach-omap1/fpga.c +++ b/arch/arm/mach-omap1/fpga.c | |||
@@ -135,8 +135,7 @@ static struct irq_chip omap_fpga_irq = { | |||
135 | * mask_ack routine for all of the FPGA interrupts has been changed from | 135 | * mask_ack routine for all of the FPGA interrupts has been changed from |
136 | * fpga_mask_ack_irq() to fpga_ack_irq() so that the specific FPGA interrupt | 136 | * fpga_mask_ack_irq() to fpga_ack_irq() so that the specific FPGA interrupt |
137 | * being serviced is left unmasked. We can do this because the FPGA cascade | 137 | * being serviced is left unmasked. We can do this because the FPGA cascade |
138 | * interrupt is installed with the IRQF_DISABLED flag, which leaves all | 138 | * interrupt is run with all interrupts masked. |
139 | * interrupts masked at the CPU while an FPGA interrupt handler executes. | ||
140 | * | 139 | * |
141 | * Limited testing indicates that this workaround appears to be effective | 140 | * Limited testing indicates that this workaround appears to be effective |
142 | * for the smc9194 Ethernet driver used on the Innovator. It should work | 141 | * for the smc9194 Ethernet driver used on the Innovator. It should work |
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c index 358b82cb9f78..40a1ae319610 100644 --- a/arch/arm/mach-omap1/pm.c +++ b/arch/arm/mach-omap1/pm.c | |||
@@ -628,7 +628,6 @@ static irqreturn_t omap_wakeup_interrupt(int irq, void *dev) | |||
628 | 628 | ||
629 | static struct irqaction omap_wakeup_irq = { | 629 | static struct irqaction omap_wakeup_irq = { |
630 | .name = "peripheral wakeup", | 630 | .name = "peripheral wakeup", |
631 | .flags = IRQF_DISABLED, | ||
632 | .handler = omap_wakeup_interrupt | 631 | .handler = omap_wakeup_interrupt |
633 | }; | 632 | }; |
634 | 633 | ||
diff --git a/arch/arm/mach-omap1/time.c b/arch/arm/mach-omap1/time.c index 80603d2fef77..6b5f298d6638 100644 --- a/arch/arm/mach-omap1/time.c +++ b/arch/arm/mach-omap1/time.c | |||
@@ -160,7 +160,7 @@ static irqreturn_t omap_mpu_timer1_interrupt(int irq, void *dev_id) | |||
160 | 160 | ||
161 | static struct irqaction omap_mpu_timer1_irq = { | 161 | static struct irqaction omap_mpu_timer1_irq = { |
162 | .name = "mpu_timer1", | 162 | .name = "mpu_timer1", |
163 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | 163 | .flags = IRQF_TIMER | IRQF_IRQPOLL, |
164 | .handler = omap_mpu_timer1_interrupt, | 164 | .handler = omap_mpu_timer1_interrupt, |
165 | }; | 165 | }; |
166 | 166 | ||
diff --git a/arch/arm/mach-omap1/timer32k.c b/arch/arm/mach-omap1/timer32k.c index 0b74246ba62c..107e7ab3edba 100644 --- a/arch/arm/mach-omap1/timer32k.c +++ b/arch/arm/mach-omap1/timer32k.c | |||
@@ -156,7 +156,7 @@ static irqreturn_t omap_32k_timer_interrupt(int irq, void *dev_id) | |||
156 | 156 | ||
157 | static struct irqaction omap_32k_timer_irq = { | 157 | static struct irqaction omap_32k_timer_irq = { |
158 | .name = "32KHz timer", | 158 | .name = "32KHz timer", |
159 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | 159 | .flags = IRQF_TIMER | IRQF_IRQPOLL, |
160 | .handler = omap_32k_timer_interrupt, | 160 | .handler = omap_32k_timer_interrupt, |
161 | }; | 161 | }; |
162 | 162 | ||
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index fa74a0625da1..038d384ac228 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -78,7 +78,7 @@ static irqreturn_t omap2_gp_timer_interrupt(int irq, void *dev_id) | |||
78 | 78 | ||
79 | static struct irqaction omap2_gp_timer_irq = { | 79 | static struct irqaction omap2_gp_timer_irq = { |
80 | .name = "gp_timer", | 80 | .name = "gp_timer", |
81 | .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, | 81 | .flags = IRQF_TIMER | IRQF_IRQPOLL, |
82 | .handler = omap2_gp_timer_interrupt, | 82 | .handler = omap2_gp_timer_interrupt, |
83 | }; | 83 | }; |
84 | 84 | ||
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c index 037660633fa4..01619c2910e3 100644 --- a/arch/arm/plat-omap/dma.c +++ b/arch/arm/plat-omap/dma.c | |||
@@ -1965,7 +1965,6 @@ static irqreturn_t omap2_dma_irq_handler(int irq, void *dev_id) | |||
1965 | static struct irqaction omap24xx_dma_irq = { | 1965 | static struct irqaction omap24xx_dma_irq = { |
1966 | .name = "DMA", | 1966 | .name = "DMA", |
1967 | .handler = omap2_dma_irq_handler, | 1967 | .handler = omap2_dma_irq_handler, |
1968 | .flags = IRQF_DISABLED | ||
1969 | }; | 1968 | }; |
1970 | 1969 | ||
1971 | #else | 1970 | #else |