2013-10-12 03:10:44

by Michael Opdenacker

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

diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
index 3f12b88..fcc965f 100644
--- a/arch/arm/mach-ep93xx/core.c
+++ b/arch/arm/mach-ep93xx/core.c
@@ -136,7 +136,7 @@ static irqreturn_t ep93xx_timer_interrupt(int irq, void *dev_id)

static struct irqaction ep93xx_timer_irq = {
.name = "ep93xx timer",
- .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
+ .flags = IRQF_TIMER | IRQF_IRQPOLL,
.handler = ep93xx_timer_interrupt,
};

--
1.8.1.2


2013-10-14 15:55:27

by Hartley Sweeten

[permalink] [raw]
Subject: RE: [PATCH] ARM: ep93xx: remove deprecated IRQF_DISABLED

On Friday, October 11, 2013 8:11 PM, 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/mach-ep93xx/core.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
> index 3f12b88..fcc965f 100644
> --- a/arch/arm/mach-ep93xx/core.c
> +++ b/arch/arm/mach-ep93xx/core.c
> @@ -136,7 +136,7 @@ static irqreturn_t ep93xx_timer_interrupt(int irq, void *dev_id)
>
> static struct irqaction ep93xx_timer_irq = {
> .name = "ep93xx timer",
> - .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
> + .flags = IRQF_TIMER | IRQF_IRQPOLL,
> .handler = ep93xx_timer_interrupt,
> };
>

Acked-by: H Hartley Sweeten <[email protected]>

Thanks

2013-10-14 23:37:04

by Ryan Mallon

[permalink] [raw]
Subject: Re: [PATCH] ARM: ep93xx: remove deprecated IRQF_DISABLED

On 15/10/13 02:47, Hartley Sweeten wrote:
> On Friday, October 11, 2013 8:11 PM, 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/mach-ep93xx/core.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/arch/arm/mach-ep93xx/core.c b/arch/arm/mach-ep93xx/core.c
>> index 3f12b88..fcc965f 100644
>> --- a/arch/arm/mach-ep93xx/core.c
>> +++ b/arch/arm/mach-ep93xx/core.c
>> @@ -136,7 +136,7 @@ static irqreturn_t ep93xx_timer_interrupt(int irq, void *dev_id)
>>
>> static struct irqaction ep93xx_timer_irq = {
>> .name = "ep93xx timer",
>> - .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL,
>> + .flags = IRQF_TIMER | IRQF_IRQPOLL,
>> .handler = ep93xx_timer_interrupt,
>> };
>>
>
> Acked-by: H Hartley Sweeten <[email protected]>

Applied to ep93xx-fixes.

Thanks,
~Ryan