diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-09-30 11:37:52 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2014-10-09 03:14:02 -0400 |
commit | fe0f49768d807a8fe6336b097feb8c4441951710 (patch) | |
tree | 5473c103c550bfa72871b4418521f7836a24d6b1 /kernel | |
parent | a9b1649917f0d2058022eda06082f9d299a06354 (diff) |
s390/nohz: use a per-cpu flag for arch_needs_cpu
Move the nohz_delay bit from the s390_idle data structure to the
per-cpu flags. Clear the nohz delay flag in __cpu_disable and
remove the cpu hotplug notifier that used to do this.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/time/tick-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index f654a8a298fa..01d512fd45f1 100644 --- a/kernel/time/tick-sched.c +++ b/kernel/time/tick-sched.c | |||
@@ -572,7 +572,7 @@ static ktime_t tick_nohz_stop_sched_tick(struct tick_sched *ts, | |||
572 | } while (read_seqretry(&jiffies_lock, seq)); | 572 | } while (read_seqretry(&jiffies_lock, seq)); |
573 | 573 | ||
574 | if (rcu_needs_cpu(cpu, &rcu_delta_jiffies) || | 574 | if (rcu_needs_cpu(cpu, &rcu_delta_jiffies) || |
575 | arch_needs_cpu(cpu) || irq_work_needs_cpu()) { | 575 | arch_needs_cpu() || irq_work_needs_cpu()) { |
576 | next_jiffies = last_jiffies + 1; | 576 | next_jiffies = last_jiffies + 1; |
577 | delta_jiffies = 1; | 577 | delta_jiffies = 1; |
578 | } else { | 578 | } else { |