aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2009-12-23 15:10:31 +0100
committerIngo Molnar <[email protected]>2010-01-21 13:40:13 +0100
commit1af3ed3ddf27499c3f57662c4c29871e2b95e5f9 (patch)
tree12e478c9ae078aa7efd8675564cffeb34708d074 /drivers/mtd/lpddr/lpddr_cmds.c
parentbaa8c1102f0cd86e69c1497d61d2ee177e663663 (diff)
sched: Unify load_balance{,_newidle}()
load_balance() and load_balance_newidle() look remarkably similar, one key point they differ in is the condition on when to active balance. So split out that logic into a separate function. One side effect is that previously load_balance_newidle() used to fail and return -1 under these conditions, whereas now it doesn't. I've not yet fully figured out the whole -1 return case for either load_balance{,_newidle}(). Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions