sched: hmp: Fix build breakage when not using CONFIG_SCHED_HMP
authorChris Redpath <Chris.Redpath@arm.com>
Fri, 22 Nov 2013 13:19:18 +0000 (13:19 +0000)
committerJon Medhurst <tixy@linaro.org>
Fri, 22 Nov 2013 14:15:38 +0000 (14:15 +0000)
commit9a0758156e5f7f2f609617eb342e476378ef63f2
tree116cc3ab60f540b86c5d58fdd11faa1dc63729d5
parentf5be72980bc321f3491377861835c343cc27af0d
sched: hmp: Fix build breakage when not using CONFIG_SCHED_HMP

hmp_variable_scale_convert was used without guards in
__update_entity_runnable_avg. Guard it.

Signed-off-by: Chris Redpath <chris.redpath@arm.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Jon Medhurst <tixy@linaro.org>
kernel/sched/fair.c