lkml.org 
[lkml]   [2006]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.6.19-rt14][BUG] kernel/sched.c:4135: error: 'notick' undeclared
Hi,

The kernel (sched.c) does not compile if CONFIG_HZ and CONFIG_SMP are set, and
CONFIG_NO_HZ isn't.

Is this patch correct ?

---

Index: linux-2.6.19-rt14-test/kernel/sched.c
===================================================================
--- linux-2.6.19-rt14-test.orig/kernel/sched.c 2006-12-14 16:27:37.000000000 +0100
+++ linux-2.6.19-rt14-test/kernel/sched.c 2006-12-14 16:42:38.000000000 +0100
@@ -4131,7 +4131,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

Thanks,

--
Pierre Peiffer
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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