mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -rt] futex_performance_hack sysctl build fix
@ 2007-05-18  4:45 Paul Mundt
  0 siblings, 0 replies; only message in thread
From: Paul Mundt @ 2007-05-18  4:45 UTC (permalink / raw)
  To: Ingo Molnar, Thomas Gleixner; +Cc: linux-kernel

-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",

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-18  4:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-18  4:45 [PATCH -rt] futex_performance_hack sysctl build fix Paul Mundt

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