android_kernel_samsung_a7y1.../kernel/time
Nathan Huckleberry 4007640037 timer_list: Guard procfs specific code
[ Upstream commit a9314773a91a1d3b36270085246a6715a326ff00 ]

With CONFIG_PROC_FS=n the following warning is emitted:

kernel/time/timer_list.c:361:36: warning: unused variable
'timer_list_sops' [-Wunused-const-variable]
   static const struct seq_operations timer_list_sops = {

Add #ifdef guard around procfs specific code.

Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Cc: john.stultz@linaro.org
Cc: sboyd@kernel.org
Cc: clang-built-linux@googlegroups.com
Link: https://github.com/ClangBuiltLinux/linux/issues/534
Link: https://lkml.kernel.org/r/20190614181604.112297-1-nhuck@google.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-06 19:55:11 +02:00
..
alarmtimer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clockevents.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
clocksource.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hrtimer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
itimer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
jiffies.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ntp_internal.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ntp.c ntp: Limit TAI-UTC offset 2020-04-06 19:55:09 +02:00
posix-clock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
posix-cpu-timers.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
posix-timers.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sched_clock.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
test_udelay.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tick-broadcast-hrtimer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tick-broadcast.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tick-common.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tick-internal.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tick-oneshot.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tick-sched.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tick-sched.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
time.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timeconst.bc A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timeconv.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timecounter.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timekeeping_debug.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timekeeping_internal.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timekeeping.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timekeeping.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
timer_list.c timer_list: Guard procfs specific code 2020-04-06 19:55:11 +02:00
timer_stats.c timer/debug: Change /proc/timer_stats from 0644 to 0600 2020-04-06 16:43:18 +02:00
timer.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30