From: Paul Mundt <lethal@linux-sh.org>
To: Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH -rt] futex_performance_hack sysctl build fix
Date: Fri, 18 May 2007 13:45:59 +0900 [thread overview]
Message-ID: <20070518044559.GB22660@linux-sh.org> (raw)
-rt adds a futex_performance_hack sysctl, which is only defined if
kernel/futex.c is built in. This fixes the build in the CONFIG_FUTEX=n
case.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
--
kernel/sysctl.c | 2 ++
1 file changed, 2 insertions(+)
--- linux-2.6.21-rt3/kernel/sysctl.c 2007-05-18 13:27:16.000000000 +0900
+++ linux-2.6.21-rt3-sh/kernel/sysctl.c 2007-05-18 13:41:23.000000000 +0900
@@ -226,6 +226,7 @@
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+#ifdef CONFIG_FUTEX
{
.ctl_name = CTL_UNNUMBERED,
.procname = "futex_performance_hack",
@@ -234,6 +235,7 @@
.mode = 0644,
.proc_handler = &proc_dointvec,
},
+#endif
{
.ctl_name = KERN_PANIC,
.procname = "prof_pid",
reply other threads:[~2007-05-18 4:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20070518044559.GB22660@linux-sh.org \
--to=lethal@linux-sh.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
Powered by JetHome