summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorVaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>2008-12-18 23:26:02 +0530
committerIngo Molnar <mingo@elte.hu>2008-12-19 09:21:45 +0100
commit716707b29906e1d8d190defe3d646610b097a861 (patch)
tree02ddc0300b74d19bc93cc00d033b72e3e279dbf7 /kernel
parent3b11ce7f542e415c90267b4482d4611410b468e6 (diff)
downloadlinux-716707b29906e1d8d190defe3d646610b097a861.tar.bz2
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 <svaidy@linux.vnet.ibm.com> Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com> Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions