sysctl: Support vdso_enabled sysctl on SH.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 1 Mar 2007 01:07:42 +0000 (10:07 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 5 Mar 2007 05:13:26 +0000 (14:13 +0900)
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>
kernel/sysctl.c

index 34b2301276cee8996fc6a1771053e588ec82417b..1b255df4fcd0a4036c1c34fb6da31a0470742f59 100644 (file)
@@ -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",