From: Joe Perches Date: Tue, 16 Nov 2010 05:17:27 +0000 (-0800) Subject: kernel/sysctl.c: Fix build failure with !CONFIG_PRINTK X-Git-Tag: v2.6.37-rc3~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=df6e61d4ca268dc8706db38222fde9f04701566c;p=profile%2Fcommon%2Fkernel-common.git kernel/sysctl.c: Fix build failure with !CONFIG_PRINTK Sigh... Signed-off-by: Joe Perches Acked-by: Eric Paris Signed-off-by: Linus Torvalds --- diff --git a/kernel/sysctl.c b/kernel/sysctl.c index b65bf63..5abfa15 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,