h8300: remove deprecated IRQF_DISABLED
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.
Signed-off-by Michael Opdenacker <[email protected]>
--- 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
@@ -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
@@ -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
@@ -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
@@ -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
Quoted 10 lines · Michael Opdenacker
This patch proposes to remove the
IRQF_DISABLEDflag from h8300 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.Signed-off-by Michael Opdenacker <[email protected]>--- 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
Hi Richard,
Quoted 12 lines · richard -rw- weinberger
Quoted 10 lines · Michael Opdenacker
This patch proposes to remove the
IRQF_DISABLEDflag from h8300 architecture code. It's a NOOP since 2.6.35 and it will be removed one day.Signed-off-by Michael Opdenacker <[email protected]>--- 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