Skip to contentSkip to conversation

timer: remove stray local_irq_enable()

PATCH In review David Vrabel 3 participants 3 messages Sep 6, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 timer: remove stray local_irq_enable()

From: David Vrabel <[email protected]>

migrate_timers_from_cpu() has a stray local_irq_enable() that does nothing (it's immediately after a spin_unlock_irq()) and has no matching local_irq_disable().

---
 xen/common/timer.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
xen/common/timer.c +0 -1
index 0dd2476..39de52d 100644
@@ -587,7 +587,6 @@ static void migrate_timers_from_cpu(unsigned int old_cpu)
 
     spin_unlock(&old_ts->lock);
     spin_unlock_irq(&new_ts->lock);
-    local_irq_enable();
 
     if ( notify )
         cpu_raise_softirq(new_cpu, TIMER_SOFTIRQ);
Signature · 1 line
1.7.2.5
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line · David Vrabel

From: David Vrabel <[email protected]>

migrate_timers_from_cpu() has a stray local_irq_enable() that does nothing (it's immediately after a spin_unlock_irq()) and has no matching local_irq_disable().

Quoted 10 lines
xen/common/timer.c +0 -1
@@ -587,7 +587,6 @@ static void migrate_timers_from_cpu(unsigned int old_cpu)
 
     spin_unlock(&old_ts->lock);
     spin_unlock_irq(&new_ts->lock);
-    local_irq_enable();
 
     if ( notify )
         cpu_raise_softirq(new_cpu, TIMER_SOFTIRQ);
Acked-by
#2 lore raw
Quoted 10 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · David Vrabel

From: David Vrabel <[email protected]>

migrate_timers_from_cpu() has a stray local_irq_enable() that does nothing (it's immediately after a spin_unlock_irq()) and has no matching local_irq_disable().

Jan, Please apply it to xen-unstable.

-- Keir

Quoted 17 lines

xen/common/timer.c static void migrate_timers_from_cpu(unsigned int old_cpu) · line 592

Quoted 10 lines
xen/common/timer.c +0 -1
@@ -587,7 +587,6 @@ static void migrate_timers_from_cpu(unsigned int old_cpu)
 
     spin_unlock(&old_ts->lock);
     spin_unlock_irq(&new_ts->lock);
-    local_irq_enable();
 
     if ( notify )
         cpu_raise_softirq(new_cpu, TIMER_SOFTIRQ);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel