diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-02-27 16:05:05 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-02-27 16:05:05 +0100 |
commit | e4970c9c54d7cb4edc24d82ed27aef69aaf593de (patch) | |
tree | fe04ddea22c344d58ae4d7a6e6e276521af910d5 /kernel | |
parent | bb6d3fb354c5ee8d6bde2d576eb7220ea09862b9 (diff) | |
parent | 320a4fc2d1b0c2314342dfdd3348270f126196a4 (diff) |
Merge branch 'arch/nohz' of git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks into timers/nohz
Pull NOHZ updates from Frederic Weisbecker:
- Remove TIF_NOHZ from 3 architectures
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/context_tracking.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/context_tracking.c b/kernel/context_tracking.c index 0296b4bda8f1..ce430885c26c 100644 --- a/kernel/context_tracking.c +++ b/kernel/context_tracking.c @@ -198,11 +198,13 @@ void __init context_tracking_cpu_set(int cpu) if (initialized) return; +#ifdef CONFIG_HAVE_TIF_NOHZ /* * Set TIF_NOHZ to init/0 and let it propagate to all tasks through fork * This assumes that init is the only task at this early boot stage. */ set_tsk_thread_flag(&init_task, TIF_NOHZ); +#endif WARN_ON_ONCE(!tasklist_empty()); initialized = true; |