From: Keir Fraser Date: Fri, 29 Oct 2010 09:19:30 +0000 (+0100) Subject: credit2: Make fake runq map initilization explicit X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11314 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=432b2c403e0d448cd8103d7c0893d020975f93b3;p=xen.git credit2: Make fake runq map initilization explicit Signed-off-by: George Dunlap --- diff --git a/xen/common/sched_credit2.c b/xen/common/sched_credit2.c index 0bf81c9d4c..0735f3b217 100644 --- a/xen/common/sched_credit2.c +++ b/xen/common/sched_credit2.c @@ -1135,6 +1135,7 @@ make_runq_map(struct csched_private *prv) prv->runq_count = 1; prv->rqd[0].cpu_min = 0; prv->rqd[0].cpu_max = NR_CPUS; + memset(prv->runq_map, 0, sizeof(prv->runq_map)); } static int