diff options
| author | Syed Rameez Mustafa <rameezmustafa@codeaurora.org> | 2014-09-09 17:24:52 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:00:43 -0700 |
| commit | 034fb588aef95ad45c6f8256ee1586a6b7265ed9 (patch) | |
| tree | 8c7debdb5f9d3b1fa2821246792e3caf24902652 /kernel | |
| parent | b7e40e50e9ca1d13c7d806dc5ea0557a776bde2d (diff) | |
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>
Diffstat (limited to 'kernel')
| -rw-r--r-- | kernel/sched/core.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 4ab1322a527b..34cb8805c55d 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -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); |
