diff mbox

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

Message ID 1449580265-8532-1-git-send-email-vgupta@synopsys.com
State New
Headers show

Commit Message

Vineet Gupta Dec. 8, 2015, 1:11 p.m. UTC
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@synopsys.com>
---
 kernel/sched/fair.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index f04fda8f669c..0995a3dccd58 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -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()