public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] h8300: remove deprecated IRQF_DISABLED
@ 2013-09-07  9:15 Michael Opdenacker
  2013-09-07  9:21 ` richard -rw- weinberger
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Opdenacker @ 2013-09-07  9:15 UTC (permalink / raw)
  To: ysato, akpm, ak; +Cc: linux-kernel, 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.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
---
 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(-)

diff --git a/arch/h8300/kernel/timer/itu.c b/arch/h8300/kernel/timer/itu.c
index 0a8b5cd..38fd517 100644
--- a/arch/h8300/kernel/timer/itu.c
+++ b/arch/h8300/kernel/timer/itu.c
@@ -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};
diff --git a/arch/h8300/kernel/timer/timer16.c b/arch/h8300/kernel/timer/timer16.c
index 462d9f58..e77194b 100644
--- a/arch/h8300/kernel/timer/timer16.c
+++ b/arch/h8300/kernel/timer/timer16.c
@@ -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};
diff --git a/arch/h8300/kernel/timer/timer8.c b/arch/h8300/kernel/timer/timer8.c
index 505f341..9219caf 100644
--- a/arch/h8300/kernel/timer/timer8.c
+++ b/arch/h8300/kernel/timer/timer8.c
@@ -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};
diff --git a/arch/h8300/kernel/timer/tpu.c b/arch/h8300/kernel/timer/tpu.c
index 0350f62..6d83841 100644
--- a/arch/h8300/kernel/timer/tpu.c
+++ b/arch/h8300/kernel/timer/tpu.c
@@ -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[] = {
-- 
1.8.1.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] h8300: remove deprecated IRQF_DISABLED
  2013-09-07  9:15 [PATCH] h8300: remove deprecated IRQF_DISABLED Michael Opdenacker
@ 2013-09-07  9:21 ` richard -rw- weinberger
  2013-09-08  3:35   ` Michael Opdenacker
  0 siblings, 1 reply; 3+ messages in thread
From: richard -rw- weinberger @ 2013-09-07  9:21 UTC (permalink / raw)
  To: Michael Opdenacker; +Cc: Yoshinori Sato, Andrew Morton, ak, LKML

On Sat, Sep 7, 2013 at 11:15 AM, Michael Opdenacker
<michael.opdenacker@free-electrons.com> wrote:
> 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 <michael.opdenacker@free-electrons.com>
> ---
>  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

-- 
Thanks,
//richard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] h8300: remove deprecated IRQF_DISABLED
  2013-09-07  9:21 ` richard -rw- weinberger
@ 2013-09-08  3:35   ` Michael Opdenacker
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Opdenacker @ 2013-09-08  3:35 UTC (permalink / raw)
  To: richard -rw- weinberger; +Cc: Yoshinori Sato, Andrew Morton, ak, LKML

Hi Richard,

On 09/07/2013 11:21 AM, richard -rw- weinberger wrote:
> On Sat, Sep 7, 2013 at 11:15 AM, Michael Opdenacker
> <michael.opdenacker@free-electrons.com> wrote:
>> 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 <michael.opdenacker@free-electrons.com>
>> ---
>>  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
Good to know, thanks! Then this patch is much more exhaustive than mine ;)

Cheers,

Michael.

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-08  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-07  9:15 [PATCH] h8300: remove deprecated IRQF_DISABLED Michael Opdenacker
2013-09-07  9:21 ` richard -rw- weinberger
2013-09-08  3:35   ` Michael Opdenacker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox