android_kernel_samsung_msm8976/kernel/time
Peter Zijlstra 8fec935545 clocksource: Initialize cs->wd_list
commit 5b9e886a4af97574ca3ce1147f35545da0e7afc7 upstream.

A number of places relies on list_empty(&cs->wd_list), however the
list_head does not get initialized. Do so upon registration, such that
thereafter it is possible to rely on list_empty() correctly reflecting
the list membership status.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Diego Viola <diego.viola@gmail.com>
Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: len.brown@intel.com
Cc: rjw@rjwysocki.net
Cc: rui.zhang@intel.com
Link: https://lkml.kernel.org/r/20180430100344.472662715@infradead.org
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2019-07-27 21:52:05 +02:00
..
Kconfig
Makefile time: Remove CONFIG_TIMER_STATS 2017-04-22 23:02:59 +02:00
alarmtimer.c alarmtimer: Prevent overflow for relative nanosleep 2019-07-27 21:51:54 +02:00
clockevents.c
clocksource.c clocksource: Initialize cs->wd_list 2019-07-27 21:52:05 +02:00
jiffies.c
ntp.c
ntp_internal.h
posix-clock.c posix-clock: Fix return code on the poll method's error path 2016-03-03 15:06:23 -08:00
sched_clock.c Import latest Samsung release 2017-04-18 03:43:52 +02:00
tick-broadcast-hrtimer.c
tick-broadcast.c tick/broadcast: Prevent NULL pointer dereference 2019-07-27 21:43:41 +02:00
tick-common.c
tick-internal.h
tick-oneshot.c
tick-sched.c nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick() 2019-07-27 21:46:23 +02:00
timeconv.c
timekeeping.c time: Always make sure wall_to_monotonic isn't positive 2017-12-19 00:21:52 -08:00
timer_list.c time: Remove CONFIG_TIMER_STATS 2017-04-22 23:02:59 +02:00