rt: Fix NO_HZ config use
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.
Signed-off-by Corey Minyard <[email protected]>
--- kernel/softirq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/softirq.c +2 -2
@@ -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
Quoted 5 lines · * [email protected] | 2013-08-02 15:24:34 [-0500]:
From: Corey Minyard <[email protected]>
NO_HZis old, it has becomeNO_HZ_COMMON.NO_HZgenerally still works because a leftoverNO_HZin a config file will still work, but it needs to be fixed.
Thank you. Patch applied and folded back.
Sebastian