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)
committerMark Brown <broonie@linaro.org>
Fri, 22 Nov 2013 13:56:00 +0000 (13:56 +0000)
commit7cf6a7300bb9a88f543061270419427395ab4d2f
tree353c3c02af29582a2455160f9e9f65366ff45d22
parente7004f3e7fd90e611362b78ac64e357ee80c177c
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>
kernel/sched/fair.c