From: Peter Zijlstra Date: Thu, 7 Apr 2011 12:09:43 +0000 (+0200) Subject: sched: Simplify ->cpu_power initialization X-Git-Tag: v3.0-rc1~403^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d274cb30f4a08045492d3f0c47cdf1a25668b1f5;p=pandora-kernel.git sched: Simplify ->cpu_power initialization The code in update_group_power() does what init_sched_groups_power() does and more, so remove the special init_ code and call the generic code instead. Also move the sd->span_weight initialization because update_group_power() needs it. Signed-off-by: Peter Zijlstra Cc: Mike Galbraith Cc: Nick Piggin Cc: Linus Torvalds Cc: Andrew Morton Link: http://lkml.kernel.org/r/20110407122941.875856012@chello.nl Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed