futex_performance_hack sysctl build fix
PATCH 1/1 futex_performance_hack sysctl build fix
-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 <[email protected]>
--
kernel/sysctl.c | 2 ++ 1 file changed, 2 insertions(+)
kernel/sysctl.c +2 -0
@@ -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",