Commit 567d65e5 authored by Elliot Berman's avatar Elliot Berman Committed by Todd Kjos
Browse files

ANDROID: Guard rq_clock_task_mult with CONFIG_SMP



rq->cpu only exists on CONFIG_SMP builds. PELT only needs to support
SMP-enabled builds, so guard rq_clock_task_mult with CONFIG_SMP to
support compilation of kernel without CONFIG_SMP enabled.

Change-Id: I7779f5b10b44757dfd4cbc159b6ae3f3f1ddf3e7
Fixes: 93772777 ("ANDROID: sched: Introducing PELT multiplier")
Signed-off-by: default avatarElliot Berman <quic_eberman@quicinc.com>
parent eb99e6d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment