posix-cpu-timers: Move state tracking to struct posix_cputimers
Put it where it belongs and clean up the ifdeffery in fork completely. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lkml.kernel.org/r/20190821192922.743229404@linutronix.de
This commit is contained in:
@@ -30,8 +30,6 @@ static struct signal_struct init_signals = {
|
||||
.posix_timers = LIST_HEAD_INIT(init_signals.posix_timers),
|
||||
.cputimer = {
|
||||
.cputime_atomic = INIT_CPUTIME_ATOMIC,
|
||||
.running = false,
|
||||
.checking_timer = false,
|
||||
},
|
||||
#endif
|
||||
INIT_CPU_TIMERS(init_signals)
|
||||
|
Reference in New Issue
Block a user