2013-10-13 04:46:09

by Michael Opdenacker

[permalink] [raw]
Subject: [PATCH] clocksource: at91/tc: 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]>
---
drivers/clocksource/tcb_clksrc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/tcb_clksrc.c b/drivers/clocksource/tcb_clksrc.c
index 8a61872..2efeb3b 100644
--- a/drivers/clocksource/tcb_clksrc.c
+++ b/drivers/clocksource/tcb_clksrc.c
@@ -180,7 +180,7 @@ static irqreturn_t ch2_irq(int irq, void *handle)

static struct irqaction tc_irqaction = {
.name = "tc_clkevt",
- .flags = IRQF_TIMER | IRQF_DISABLED,
+ .flags = IRQF_TIMER,
.handler = ch2_irq,
};

--
1.8.1.2


2013-10-13 09:53:09

by Boris BREZILLON

[permalink] [raw]
Subject: Re: [PATCH] clocksource: at91/tc: remove deprecated IRQF_DISABLED

Hello Micheal,

This flag has been removed in a recent submission (see
https://lkml.org/lkml/2013/10/2/202), and, if I'm correct, is on his way
for mainlining.

Best Regards,

Boris

On 13/10/2013 06:45, 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]>
> ---
> drivers/clocksource/tcb_clksrc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clocksource/tcb_clksrc.c b/drivers/clocksource/tcb_clksrc.c
> index 8a61872..2efeb3b 100644
> --- a/drivers/clocksource/tcb_clksrc.c
> +++ b/drivers/clocksource/tcb_clksrc.c
> @@ -180,7 +180,7 @@ static irqreturn_t ch2_irq(int irq, void *handle)
>
> static struct irqaction tc_irqaction = {
> .name = "tc_clkevt",
> - .flags = IRQF_TIMER | IRQF_DISABLED,
> + .flags = IRQF_TIMER,
> .handler = ch2_irq,
> };
>
>

2013-10-13 10:14:01

by Daniel Lezcano

[permalink] [raw]
Subject: Re: [PATCH] clocksource: at91/tc: remove deprecated IRQF_DISABLED

On 10/13/2013 11:27 AM, boris brezillon wrote:
> Hello Micheal,
>
> This flag has been removed in a recent submission (see
> https://lkml.org/lkml/2013/10/2/202), and, if I'm correct, is on his way
> for mainlining.

Yes, it has been merged in the tip tree:

https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=timers/core&id=f51380a75652a4600b34ce384c4ff89ce0a15132

> On 13/10/2013 06:45, 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]>
>> ---
>> drivers/clocksource/tcb_clksrc.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/clocksource/tcb_clksrc.c
>> b/drivers/clocksource/tcb_clksrc.c
>> index 8a61872..2efeb3b 100644
>> --- a/drivers/clocksource/tcb_clksrc.c
>> +++ b/drivers/clocksource/tcb_clksrc.c
>> @@ -180,7 +180,7 @@ static irqreturn_t ch2_irq(int irq, void *handle)
>>
>> static struct irqaction tc_irqaction = {
>> .name = "tc_clkevt",
>> - .flags = IRQF_TIMER | IRQF_DISABLED,
>> + .flags = IRQF_TIMER,
>> .handler = ch2_irq,
>> };
>>
>>
>


--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

2013-10-14 03:13:36

by Michael Opdenacker

[permalink] [raw]
Subject: Re: [PATCH] clocksource: at91/tc: remove deprecated IRQF_DISABLED

Hi Boris,

On 10/13/2013 11:27 AM, boris brezillon wrote:
> Hello Micheal,
>
> This flag has been removed in a recent submission (see
> https://lkml.org/lkml/2013/10/2/202), and, if I'm correct, is on his
> way for mainlining.
That's good news. Thank you very much!

Cheers,

Michael.

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