aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2015-06-04 20:04:37 +0530
committerRuchi Kandoi <kandoiruchi@google.com>2015-06-08 11:18:34 -0700
commit3174b276b358c0e9416bc58af120b9ab7860907c (patch)
tree29936d3e8ebe291f0b2ad35e678ee4c94cd18af1 /drivers/staging
parent553b785b53837e183cc831d08c11ab6e1f20ae6b (diff)
sched: cpufreq: update power usage only if cpufreq_stat is enabled
Call acct_update_power() to track power usage of task only if CONFIG_CPU_FREQ_STAT is enabled, otherwise we run into following build failure: --------------- kernel/built-in.o: In function `account_user_time': kernel/sched/cputime.c:155: undefined reference to `acct_update_power' kernel/built-in.o: In function `__account_system_time': kernel/sched/cputime.c:208: undefined reference to `acct_update_power' make: *** [vmlinux] Error 1 --------------- Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'drivers/staging')
0 files changed, 0 insertions, 0 deletions