diff options
author | Amit Pundir <amit.pundir@linaro.org> | 2015-06-04 20:04:37 +0530 |
---|---|---|
committer | Amit Pundir <amit.pundir@linaro.org> | 2015-06-04 20:20:47 +0530 |
commit | 05b7504d11ce32148c4f73656936fa34375f377f (patch) | |
tree | b259a92bc5b9bd8325846775eac4d63168a32c31 /arch/sparc/kernel/sys_solaris.c | |
parent | b6eece95acfd54963a69c18845aee2a3c593e699 (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 'arch/sparc/kernel/sys_solaris.c')
0 files changed, 0 insertions, 0 deletions