From: Steven Rostedt <rostedt@goodmis.org>
To: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH -rt] wrong config option in sched.c for notick
Date: Thu, 14 Dec 2006 11:01:33 -0500 [thread overview]
Message-ID: <1166112093.1785.25.camel@localhost.localdomain> (raw)
In compiling the kernel without high res, I hit this error:
kernel/sched.c:4135: error: notick undeclared (first use in this function)
kernel/sched.c:4135: error: (Each undeclared identifier is reported only once
kernel/sched.c:4135: error: for each function it appears in.)
I'm assuming that this was meant for NO_HZ.
signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Index: linux-2.6.19-rt14/kernel/sched.c
===================================================================
--- linux-2.6.19-rt14.orig/kernel/sched.c 2006-12-14 10:55:43.000000000 -0500
+++ linux-2.6.19-rt14/kernel/sched.c 2006-12-14 10:55:46.000000000 -0500
@@ -4147,7 +4147,7 @@ switch_tasks:
++*switch_count;
prepare_task_switch(rq, next);
-#if defined(CONFIG_HZ) && defined(CONFIG_SMP)
+#if defined(CONFIG_NO_HZ) && defined(CONFIG_SMP)
if (prev == rq->idle && notick.load_balancer == -1) {
/*
* simple selection for now: Nominate the first cpu in
next reply other threads:[~2006-12-14 16:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-14 16:01 Steven Rostedt [this message]
2006-12-14 20:19 ` Ingo Molnar
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=1166112093.1785.25.camel@localhost.localdomain \
--to=rostedt@goodmis.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--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
all inboxes | Powered by JetHome®