Skip to contentSkip to conversation

sched/fair: [cosmetic] match ifdef/endif CONFIG_NO_HZ_COMMON

PATCH New Vineet Gupta 1 participant 1 message Dec 8, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/fair: [cosmetic] match ifdef/endif CONFIG_NO_HZ_COMMON

Spotted this when debuggign something completely different and trying to unravel CONFIG_NO_HZ{,_COMMON,,_IDLE}

It seems we can clean up the legacy CONFIG_NO_HZ option, but first remove it's proliferation.

Signed-off-by Vineet Gupta <vgupta at synopsys.com>
---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/sched/fair.c +1 -1
index f04fda8f669c..0995a3dccd58 100644
@@ -4408,7 +4408,7 @@ void update_cpu_load_nohz(void)
 	}
 	raw_spin_unlock(&this_rq->lock);
 }
-#endif /* CONFIG_NO_HZ */
+#endif /* CONFIG_NO_HZ_COMMON */
 
 /*
  * Called from scheduler_tick()
Signature · 1 line
1.9.1