summaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-03-01 02:07:42 +0100
committerPaul Mundt <lethal@linux-sh.org>2007-03-05 06:13:26 +0100
commit5c36e6578d81f79ede871d3e66a0d6beeffeb3dc (patch)
treee898599784fb5a684fce7f477ca58f219e622994 /kernel/sysctl.c
parentsh: Fix kernel thread stack corruption with preempt. (diff)
downloadlinux-5c36e6578d81f79ede871d3e66a0d6beeffeb3dc.tar.xz
linux-5c36e6578d81f79ede871d3e66a0d6beeffeb3dc.zip
sysctl: Support vdso_enabled sysctl on SH.
All of the logic for this was already in place, we just hadn't wired it up in the sysctl table. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 34b2301276ce..1b255df4fcd0 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -846,7 +846,8 @@ static ctl_table vm_table[] = {
.extra2 = &one_hundred,
},
#endif
-#ifdef CONFIG_X86_32
+#if defined(CONFIG_X86_32) || \
+ (defined(CONFIG_SUPERH) && defined(CONFIG_VSYSCALL))
{
.ctl_name = VM_VDSO_ENABLED,
.procname = "vdso_enabled",