2013-10-12 02:52:08

by Michael Opdenacker

[permalink] [raw]
Subject: [PATCH] ARM: timer-sp: remove deprecated IRQF_DISABLED

This patch proposes to remove the use of the IRQF_DISABLED flag

It's a NOOP since 2.6.35 and it will be removed one day.

Signed-off-by: Michael Opdenacker <[email protected]>
---
arch/arm/common/timer-sp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c
index e901d0f..ce922d0 100644
--- a/arch/arm/common/timer-sp.c
+++ b/arch/arm/common/timer-sp.c
@@ -175,7 +175,7 @@ static struct clock_event_device sp804_clockevent = {

static struct irqaction sp804_timer_irq = {
.name = "timer",
- .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
+ .flags = IRQF_TIMER | IRQF_IRQPOLL,
.handler = sp804_timer_interrupt,
.dev_id = &sp804_clockevent,
};
--
1.8.1.2


2013-10-13 23:45:46

by Russell King - ARM Linux

[permalink] [raw]
Subject: Re: [PATCH] ARM: timer-sp: remove deprecated IRQF_DISABLED

If you want to either send these to the patch system, or alternatively
collect them up in a git tree somewhere for me and/or arm-soc to pull...

On Sat, Oct 12, 2013 at 04:52:02AM +0200, Michael Opdenacker wrote:
> This patch proposes to remove the use of the IRQF_DISABLED flag
>
> It's a NOOP since 2.6.35 and it will be removed one day.
>
> Signed-off-by: Michael Opdenacker <[email protected]>
> ---
> arch/arm/common/timer-sp.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/common/timer-sp.c b/arch/arm/common/timer-sp.c
> index e901d0f..ce922d0 100644
> --- a/arch/arm/common/timer-sp.c
> +++ b/arch/arm/common/timer-sp.c
> @@ -175,7 +175,7 @@ static struct clock_event_device sp804_clockevent = {
>
> static struct irqaction sp804_timer_irq = {
> .name = "timer",
> - .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
> + .flags = IRQF_TIMER | IRQF_IRQPOLL,
> .handler = sp804_timer_interrupt,
> .dev_id = &sp804_clockevent,
> };
> --
> 1.8.1.2
>