From: Vaidyanathan Srinivasan Date: Thu, 18 Dec 2008 17:56:02 +0000 (+0530) Subject: sched: convert BALANCE_FOR_xx_POWER to inline functions X-Git-Tag: v2.6.29-rc1~538^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=716707b29906e1d8d190defe3d646610b097a861;p=pandora-kernel.git sched: convert BALANCE_FOR_xx_POWER to inline functions Impact: cleanup BALANCE_FOR_MC_POWER and similar macros defined in sched.h are not constants and have various condition checks and significant amount of code that is not suitable to be contain in a macro. Also there could be side effects on the expressions passed to some of them like test_sd_parent(). This patch converts all complex macros related to power savings balance to inline functions. Signed-off-by: Vaidyanathan Srinivasan Acked-by: Balbir Singh Acked-by: Peter Zijlstra Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed