sched: Remove hack to enable/disable HMP scheduling extensions

The current method of turning HMP scheduling extensions on or off
based on the number of CPUs is inappropriate as there may be SoCs with
4 or less cores that require the use of these extensions. Remove this
hack as HMP extensions will now be enabled/disabled via command line
options.

Change-Id: Id44b53c2c3b3c3b83e1911a834e2c824f3958135
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
This commit is contained in:
Syed Rameez Mustafa 2014-09-09 17:24:52 -07:00 committed by David Keitel
parent b7e40e50e9
commit 034fb588ae

View file

@ -8671,13 +8671,8 @@ void __init sched_init(void)
int i, j;
unsigned long alloc_size = 0, ptr;
#ifdef CONFIG_SCHED_HMP
if (num_possible_cpus() > 4)
sched_enable_hmp = sched_enable_power_aware = 1;
if (sched_enable_hmp)
pr_info("HMP scheduling enabled.\n");
#endif
BUG_ON(num_possible_cpus() > BITS_PER_LONG);