summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2010-11-15 21:17:27 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-11-16 07:56:09 -0800
commitdf6e61d4ca268dc8706db38222fde9f04701566c (patch)
tree64b3e7571df84ce1e8d6aa1fb4dcb6a69a519d2c /kernel
parente53beacd23d9cb47590da6a7a7f6d417b941a994 (diff)
kernel/sysctl.c: Fix build failure with !CONFIG_PRINTK
Sigh... Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index b65bf634035..5abfa151855 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -702,7 +702,6 @@ static struct ctl_table kern_table[] = {
.extra1 = &zero,
.extra2 = &ten_thousand,
},
-#endif
{
.procname = "dmesg_restrict",
.data = &dmesg_restrict,
@@ -712,6 +711,7 @@ static struct ctl_table kern_table[] = {
.extra1 = &zero,
.extra2 = &one,
},
+#endif
{
.procname = "ngroups_max",
.data = &ngroups_max,