aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Vrabel <david.vrabel@citrix.com>2012-09-06 16:39:01 +0200
committerDavid Vrabel <david.vrabel@citrix.com>2012-09-06 16:39:01 +0200
commit102ec7e2fc1c0290ed8207a78251ebba9157f8ce (patch)
treede18efb6d331f9001a1ad3a4ca765507bf0fc29f
parente3375c7ffb90a8f72c219109840b8b6e51a10a12 (diff)
downloadxen-102ec7e2fc1c0290ed8207a78251ebba9157f8ce.tar.gz
xen-102ec7e2fc1c0290ed8207a78251ebba9157f8ce.tar.bz2
xen-102ec7e2fc1c0290ed8207a78251ebba9157f8ce.zip
timer: remove stray local_irq_enable()
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(). Signed-off-by: David Vrabel <david.vrabel@citrix.com> Acked-by: Jan Beulich <jbeulich@suse.com> Acked-by: Keir Fraser <keir@xen.org> Committed-by: Jan Beulich <jbeulich@suse.com>
-rw-r--r--xen/common/timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xen/common/timer.c b/xen/common/timer.c
index 0dd2476483..39de52dc35 100644
--- a/xen/common/timer.c
+++ b/xen/common/timer.c
@@ -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);