From: Daniel Lezcano Date: Mon, 6 Jan 2014 11:34:44 +0000 (+0100) Subject: sched: Pass 'struct rq' to nohz_idle_balance() X-Git-Tag: v3.14-rc1~170^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=208cb16ba325552a3935bfc002e34561b0d512d7;p=pandora-kernel.git sched: Pass 'struct rq' to nohz_idle_balance() The cpu information is stored in the struct rq. Pass the struct rq to nohz_idle_balance, so all the functions called in run_rebalance_domains have the same parameters and the 'this_cpu' variable becomes pointless. Signed-off-by: Daniel Lezcano [ Added !SMP build fix. ] Signed-off-by: Peter Zijlstra Link: http://lkml.kernel.org/r/1389008085-9069-8-git-send-email-daniel.lezcano@linaro.org Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed