Skip to contentSkip to conversation

arch:avr32:kernel:time.c: Removed IRQF_DISABLED

PATCH In review Kumar Gaurav 2 participants 3 messages Aug 9, 2013 Kernel janitors

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch:avr32:kernel:time.c: Removed IRQF_DISABLED

Removed IRQF_DISABLED as it's no-op and should be removed

---
 arch/avr32/kernel/time.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/avr32/kernel/time.c +1 -1
index 869a1c6..0566c81 100644
@@ -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_TRIGGER_NONE | IRQF_SHARED,
 	.name		= "avr32_comparator",
 };
 
Signature · 1 line
1.7.9.5
#1 lore raw

Please ignore the below patch. I'll be resending this with 0 instead of IRQF_TRIGGER_NONE

Quoted 20 lines · Kumar Gaurav

Removed IRQF_DISABLED as it's no-op and should be removed

---
  arch/avr32/kernel/time.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
arch/avr32/kernel/time.c +1 -1
index 869a1c6..0566c81 100644
@@ -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_TRIGGER_NONE | IRQF_SHARED,
  	.name		= "avr32_comparator",
  };
 
#2 lore raw
Quoted 2 lines · Kumar Gaurav

Please ignore the below patch. I'll be resending this with 0 instead of IRQF_TRIGGER_NONE

Hey again Kumar.

This is one of those patches that should just have IRQF_DISABLED completely elided.

Quoted 1 line · Kumar Gaurav

[]

Quoted 1 line

arch/avr32/kernel/time.c

Quoted 1 line
arch/avr32/kernel/time.c +0 -0

[]

Quoted 1 line

arch/avr32/kernel/time.c static irqreturn_t timer_interrupt(int irq, void *dev_id)

Quoted 1 line
arch/avr32/kernel/time.c +0 -0
@@ -59,7 +59,7 @@ static irqreturn_t timer_interrupt(int irq, void *dev_id)

[]

Quoted 2 lines

arch/avr32/kernel/time.c static irqreturn_t timer_interrupt(int irq, void *dev_id) · line 62

Quoted 2 lines
arch/avr32/kernel/time.c +1 -1
-	.flags		= IRQF_TIMER | IRQF_DISABLED | IRQF_SHARED,
+	.flags		= IRQF_TIMER | IRQF_TRIGGER_NONE | IRQF_SHARED,

.flags = IRQF_TIMER | IRQF_SHARED,