Skip to contentSkip to conversation

score: remove deprecated IRQF_DISABLED

PATCH New Michael Opdenacker 2 participants 7 messages Oct 12, 2013 – Oct 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 score: 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.

---
 arch/score/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/score/kernel/time.c +1 -1
index f0a43aff..24770cd 100644
@@ -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",
 };
 
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH RESEND 1/1 score: 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.

---
 arch/score/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/score/kernel/time.c +1 -1
index f0a43affb201..24770cd9b473 100644
@@ -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",
 };
 
Signature · 1 line
1.8.3.2
#2 lore raw

PATCH RESEND 1/1 score: remove deprecated IRQF_DISABLED

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.

---
 arch/score/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/score/kernel/time.c +1 -1
index f0a43affb201..24770cd9b473 100644
@@ -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",
 };
 
Signature · 1 line
1.8.3.2
Acked-by on v1 1/1
#3 lore raw

Thanks for cleaning the code.

2014-03-05 5:17 GMT+08:00 Michael Opdenacker
<[email protected]>:

Quoted 26 lines

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.

---
 arch/score/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/score/kernel/time.c +1 -2
index f0a43affb201..24770cd9b473 100644
@@ -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.8.3.2

#4 lore raw

PATCH RESEND 1/1 score: remove deprecated IRQF_DISABLED

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.

---
 arch/score/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/score/kernel/time.c +1 -1
index f0a43affb201..24770cd9b473 100644
@@ -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",
 };
 
Signature · 1 line
1.9.1
#5 lore raw

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]>:

Quoted 27 lines

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.

---
 arch/score/kernel/time.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/score/kernel/time.c +1 -2
index f0a43affb201..24770cd9b473 100644
@@ -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

#6 lore raw

Hi Lennox,

Quoted 3 lines · Lennox Wu

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.

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