Skip to contentSkip to conversation

h8300: remove deprecated IRQF_DISABLED

PATCH In review Michael Opdenacker 2 participants 3 messages Sep 7, 2013 – Sep 8, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 h8300: remove deprecated IRQF_DISABLED

This patch proposes to remove the IRQF_DISABLED flag from h8300 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.

---
 arch/h8300/kernel/timer/itu.c     | 2 +-
 arch/h8300/kernel/timer/timer16.c | 2 +-
 arch/h8300/kernel/timer/timer8.c  | 2 +-
 arch/h8300/kernel/timer/tpu.c     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
arch/h8300/kernel/timer/itu.c +1 -1
index 0a8b5cd..38fd517 100644
@@ -59,7 +59,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
 static struct irqaction itu_irq = {
 	.name		= "itu",
 	.handler	= timer_interrupt,
-	.flags		= IRQF_DISABLED | IRQF_TIMER,
+	.flags		= IRQF_TIMER,
 };
 
 static const int __initconst divide_rate[] = {1, 2, 4, 8};
arch/h8300/kernel/timer/timer16.c +1 -1
index 462d9f58..e77194b 100644
@@ -54,7 +54,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
 static struct irqaction timer16_irq = {
 	.name		= "timer-16",
 	.handler	= timer_interrupt,
-	.flags		= IRQF_DISABLED | IRQF_TIMER,
+	.flags		= IRQF_TIMER,
 };
 
 static const int __initconst divide_rate[] = {1, 2, 4, 8};
arch/h8300/kernel/timer/timer8.c +1 -1
index 505f341..9219caf 100644
@@ -74,7 +74,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
 static struct irqaction timer8_irq = {
 	.name		= "timer-8",
 	.handler	= timer_interrupt,
-	.flags		= IRQF_DISABLED | IRQF_TIMER,
+	.flags		= IRQF_TIMER,
 };
 
 static const int __initconst divide_rate[] = {8, 64, 8192};
arch/h8300/kernel/timer/tpu.c +1 -1
index 0350f62..6d83841 100644
@@ -63,7 +63,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
 static struct irqaction tpu_irq = {
 	.name		= "tpu",
 	.handler	= timer_interrupt,
-	.flags		= IRQF_DISABLED | IRQF_TIMER,
+	.flags		= IRQF_TIMER,
 };
 
 static const int __initconst divide_rate[] = {
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 10 lines · Michael Opdenacker

This patch proposes to remove the IRQF_DISABLED flag from h8300 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.

---
 arch/h8300/kernel/timer/itu.c     | 2 +-
 arch/h8300/kernel/timer/timer16.c | 2 +-
 arch/h8300/kernel/timer/timer8.c  | 2 +-
 arch/h8300/kernel/timer/tpu.c     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

FYI, h8300 is gone:
https://lkml.org/lkml/2013/8/30/383

Signature · 2 lines
Thanks,
//richard
#2 lore raw

Hi Richard,

Quoted 12 lines · richard -rw- weinberger
Quoted 10 lines · Michael Opdenacker

This patch proposes to remove the IRQF_DISABLED flag from h8300 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.

---
 arch/h8300/kernel/timer/itu.c     | 2 +-
 arch/h8300/kernel/timer/timer16.c | 2 +-
 arch/h8300/kernel/timer/timer8.c  | 2 +-
 arch/h8300/kernel/timer/tpu.c     | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
Quoted 2 lines

FYI, h8300 is gone:
https://lkml.org/lkml/2013/8/30/383

Good to know, thanks! Then this patch is much more exhaustive than mine ;)

Cheers,

Michael.

Signature · 4 lines
Michael Opdenacker, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
+33 484 258 098