All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre Peiffer <pierre.peiffer@bull.net>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>, suresh.b.siddha@intel.com
Subject: [PATCH 2.6.19-rt14][BUG] kernel/sched.c:4135: error: 'notick' undeclared
Date: Thu, 14 Dec 2006 16:55:01 +0100	[thread overview]
Message-ID: <458173D5.5050008@bull.net> (raw)

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

             reply	other threads:[~2006-12-14 15:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 15:55 Pierre Peiffer [this message]
2006-12-14 20:18 ` [PATCH 2.6.19-rt14][BUG] kernel/sched.c:4135: error: 'notick' undeclared 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=458173D5.5050008@bull.net \
    --to=pierre.peiffer@bull.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=suresh.b.siddha@intel.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.