aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/tasklet.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-05-14 18:25:55 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-05-14 18:25:55 +0100
commit06111bb25b5ca1c3c18f3af9fcc13bb4e0e10174 (patch)
treefe4ff1f71c6f6364e6d996a0621fdb70f0d5c3fd /xen/common/tasklet.c
parentc1bc99b8a753b87e0febcf7cddba1d738f9be7fa (diff)
downloadxen-06111bb25b5ca1c3c18f3af9fcc13bb4e0e10174.tar.gz
xen-06111bb25b5ca1c3c18f3af9fcc13bb4e0e10174.tar.bz2
xen-06111bb25b5ca1c3c18f3af9fcc13bb4e0e10174.zip
Some cleanups to cpu offline handling.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/tasklet.c')
-rw-r--r--xen/common/tasklet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/common/tasklet.c b/xen/common/tasklet.c
index f9b889d717..b898535223 100644
--- a/xen/common/tasklet.c
+++ b/xen/common/tasklet.c
@@ -78,7 +78,7 @@ void do_tasklet(void)
spin_lock_irq(&tasklet_lock);
- if ( unlikely(list_empty(list)) )
+ if ( unlikely(list_empty(list) || cpu_is_offline(cpu)) )
goto out;
t = list_entry(list->next, struct tasklet, list);