From: Keir Fraser Date: Thu, 15 Apr 2010 08:03:43 +0000 (+0100) Subject: Fix tasklet_action() to notify correct cpu when running tasklet is rescheduled. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12366 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0b8d2172143d9a53dc087456b070772e3796b728;p=xen.git Fix tasklet_action() to notify correct cpu when running tasklet is rescheduled. Signed-off-by: Keir Fraser --- diff --git a/xen/common/softirq.c b/xen/common/softirq.c index f99d0d4f7c..e90b71ed2b 100644 --- a/xen/common/softirq.c +++ b/xen/common/softirq.c @@ -149,7 +149,7 @@ static void tasklet_action(void) BUG_ON(t->is_dead || !list_empty(&t->list)); list_add_tail(&t->list, &per_cpu(tasklet_list, t->scheduled_on)); if ( t->scheduled_on != cpu ) - cpu_raise_softirq(cpu, TASKLET_SOFTIRQ); + cpu_raise_softirq(t->scheduled_on, TASKLET_SOFTIRQ); } /*