[lkml]   [2006]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH -rt] wrong config option in sched.c for notick
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 <>

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:

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-12-14 17:07    [W:0.024 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site