summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-03-01 10:07:42 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-03-05 14:13:26 +0900
commit5c36e6578d81f79ede871d3e66a0d6beeffeb3dc (patch)
treee898599784fb5a684fce7f477ca58f219e622994
parente6bcf562e58662b9765748d346e4c076b20e3aa5 (diff)
downloadlwn-5c36e6578d81f79ede871d3e66a0d6beeffeb3dc.tar.gz
lwn-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>
-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",