arch:avr32:kernel:time.c: Removed IRQF_DISABLED
PATCH 1/1 arch:avr32:kernel:time.c: Removed IRQF_DISABLED
Removed IRQF_DISABLED as it's no-op and should be removed
Signed-off-by Kumar Gaurav <[email protected]>
--- arch/avr32/kernel/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/avr32/kernel/time.c +1 -1
@@ -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
Please ignore the below patch. I'll be resending this with 0 instead of IRQF_TRIGGER_NONE
Quoted 20 lines · Kumar Gaurav
Removed
IRQF_DISABLEDas it's no-op and should be removedSigned-off-by Kumar Gaurav <[email protected]>--- arch/avr32/kernel/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/avr32/kernel/time.c +1
-1@@ -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" , };
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,