2013-10-12 04:04:09

by Michael Opdenacker

[permalink] [raw]
Subject: [PATCH] avr32: 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/avr32/kernel/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c
index 12f828a..d0f771b 100644
--- a/arch/avr32/kernel/time.c
+++ b/arch/avr32/kernel/time.c
@@ -59,7 +59,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
static struct irqaction timer_irqaction = {
.handler = timer_interrupt,
/* Oprofile uses the same irq as the timer, so allow it to be shared */
- .flags = IRQF_TIMER | IRQF_DISABLED | IRQF_SHARED,
+ .flags = IRQF_TIMER | IRQF_SHARED,
.name = "avr32_comparator",
};

--
1.8.1.2


Subject: Re: [PATCH] avr32: remove deprecated IRQF_DISABLED

Around Sat 12 Oct 2013 06:04:01 +0200 or thereabout, 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]>

Thank you for cleaning (-:

Acked-by: Hans-Christian Egtvedt <[email protected]>

> ---
> arch/avr32/kernel/time.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c
> index 12f828a..d0f771b 100644
> --- a/arch/avr32/kernel/time.c
> +++ b/arch/avr32/kernel/time.c
> @@ -59,7 +59,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
> static struct irqaction timer_irqaction = {
> .handler = timer_interrupt,
> /* Oprofile uses the same irq as the timer, so allow it to be shared */
> - .flags = IRQF_TIMER | IRQF_DISABLED | IRQF_SHARED,
> + .flags = IRQF_TIMER | IRQF_SHARED,
> .name = "avr32_comparator",
> };
>
--
mvh
Hans-Christian Egtvedt