ANDROID: Reduce use of #ifdef CONFIG_CPU_FREQ_TIMES
authorConnor O'Brien <connoro@google.com>
Fri, 13 Jul 2018 21:31:40 +0000 (14:31 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 18 Jul 2018 13:21:52 +0000 (13:21 +0000)
commit23a1412b82a037482e214ab77a9c73c8218029b4
treebf7cc8566278afe685320b03169b7b272548b186
parent7f6f94c98c2f2a892ea8a605a7f9de451dcfa4d5
ANDROID: Reduce use of #ifdef CONFIG_CPU_FREQ_TIMES

Add empty versions of functions to cpufreq_times.h to cut down on use
of #ifdef in .c files.

Test: kernel builds with and without CONFIG_CPU_FREQ_TIMES=y
Change-Id: I49ac364fac3d42bba0ca1801e23b15081094fb12
Signed-off-by: Connor O'Brien <connoro@google.com>
include/linux/cpufreq_times.h
kernel/exit.c
kernel/sched/core.c
kernel/sched/cputime.c