Skip to contentSkip to conversation

rt: Fix NO_HZ config use

PATCH In review [email protected] 2 participants 2 messages Aug 2, 2013 – Aug 12, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rt: Fix NO_HZ config use

From: Corey Minyard <[email protected]>

NO_HZ is old, it has become NO_HZ_COMMON. NO_HZ generally still works because a leftover NO_HZ in a config file will still work, but it needs to be fixed.

---
 kernel/softirq.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/softirq.c +2 -2
index db2fe2b..d0f189d 100644
@@ -64,7 +64,7 @@ char *softirq_to_name[NR_SOFTIRQS] = {
 	"TASKLET", "SCHED", "HRTIMER", "RCU"
 };
 
-#ifdef CONFIG_NO_HZ
+#ifdef CONFIG_NO_HZ_COMMON
 # ifdef CONFIG_PREEMPT_RT_FULL
 
 struct softirq_runner {
@@ -151,7 +151,7 @@ void softirq_check_pending_idle(void)
 }
 # endif
 
-#else /* !NO_HZ */
+#else /* !NO_HZ_COMMON */
 static inline void softirq_set_runner(unsigned int sirq) { }
 static inline void softirq_clr_runner(unsigned int sirq) { }
 #endif
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 5 lines · * [email protected] | 2013-08-02 15:24:34 [-0500]:

From: Corey Minyard <[email protected]>

NO_HZ is old, it has become NO_HZ_COMMON. NO_HZ generally still works because a leftover NO_HZ in a config file will still work, but it needs to be fixed.

Thank you. Patch applied and folded back.

Sebastian