linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: minyard@acm.org
To: Sebastian Sewior <bigeasy@linutronix.de>,
	Thomas Gleixnet <tglx@linutronix.de>
Cc: linux-rt-users@vger.kernel.org, Corey Minyard <cminyard@mvista.com>
Subject: [PATCH 3.10-rt1] rt: Fix NO_HZ config use
Date: Fri, 02 Aug 2013 15:24:34 -0500	[thread overview]
Message-ID: <1375475074-30704-1-git-send-email-minyard@acm.org> (raw)

From: Corey Minyard <cminyard@mvista.com>

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 <cminyard@mvista.com>
---
 kernel/softirq.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/softirq.c b/kernel/softirq.c
index db2fe2b..d0f189d 100644
--- a/kernel/softirq.c
+++ b/kernel/softirq.c
@@ -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
-- 
1.7.9.5


             reply	other threads:[~2013-08-02 21:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02 20:24 minyard [this message]
2013-08-12 10:28 ` [PATCH 3.10-rt1] rt: Fix NO_HZ config use Sebastian Andrzej Siewior

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375475074-30704-1-git-send-email-minyard@acm.org \
    --to=minyard@acm.org \
    --cc=bigeasy@linutronix.de \
    --cc=cminyard@mvista.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).