提交 df6e61d4 编写于 作者: J Joe Perches 提交者: Linus Torvalds

kernel/sysctl.c: Fix build failure with !CONFIG_PRINTK

Sigh...
Signed-off-by: NJoe Perches <joe@perches.com>
Acked-by: NEric Paris <eparis@redhat.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 e53beacd
...@@ -702,7 +702,6 @@ static struct ctl_table kern_table[] = { ...@@ -702,7 +702,6 @@ static struct ctl_table kern_table[] = {
.extra1 = &zero, .extra1 = &zero,
.extra2 = &ten_thousand, .extra2 = &ten_thousand,
}, },
#endif
{ {
.procname = "dmesg_restrict", .procname = "dmesg_restrict",
.data = &dmesg_restrict, .data = &dmesg_restrict,
...@@ -712,6 +711,7 @@ static struct ctl_table kern_table[] = { ...@@ -712,6 +711,7 @@ static struct ctl_table kern_table[] = {
.extra1 = &zero, .extra1 = &zero,
.extra2 = &one, .extra2 = &one,
}, },
#endif
{ {
.procname = "ngroups_max", .procname = "ngroups_max",
.data = &ngroups_max, .data = &ngroups_max,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册