mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-20 13:41:30 +00:00
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:
parent
8991afe264
commit
244d49e306
6 changed files with 54 additions and 50 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue