This patch removes the use of the IRQF_DISABLED flag
from arch/score/kernel/time.c
It's a NOOP since 2.6.35 and it will be removed one day.
Signed-off-by: Michael Opdenacker <[email protected]>
Acked-by: Lennox Wu <[email protected]>
---
arch/score/kernel/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/score/kernel/time.c b/arch/score/kernel/time.c
index f0a43affb201..24770cd9b473 100644
--- a/arch/score/kernel/time.c
+++ b/arch/score/kernel/time.c
@@ -41,7 +41,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
static struct irqaction timer_irq = {
.handler = timer_interrupt,
- .flags = IRQF_DISABLED | IRQF_TIMER,
+ .flags = IRQF_TIMER,
.name = "timer",
};
--
1.9.1
Hi Michael,
I will merge it and then issue a PULL request this weekend.
Thanks.
2014-10-01 18:04 GMT+08:00 Michael Opdenacker
<[email protected]>:
> This patch removes the use of the IRQF_DISABLED flag
> from arch/score/kernel/time.c
>
> It's a NOOP since 2.6.35 and it will be removed one day.
>
> Signed-off-by: Michael Opdenacker <[email protected]>
> Acked-by: Lennox Wu <[email protected]>
> ---
> arch/score/kernel/time.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/score/kernel/time.c b/arch/score/kernel/time.c
> index f0a43affb201..24770cd9b473 100644
> --- a/arch/score/kernel/time.c
> +++ b/arch/score/kernel/time.c
> @@ -41,7 +41,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)
>
> static struct irqaction timer_irq = {
> .handler = timer_interrupt,
> - .flags = IRQF_DISABLED | IRQF_TIMER,
> + .flags = IRQF_TIMER,
> .name = "timer",
> };
>
> --
> 1.9.1
>
Hi Lennox,
On 10/01/2014 06:25 PM, Lennox Wu wrote:
> Hi Michael,
> I will merge it and then issue a PULL request this weekend.
> Thanks.
That would be great. Thanks for taking this patch into account!
Michael.
--
Michael Opdenacker, CEO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
+33 484 258 098