X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=kernel%2Fsysctl.c;h=18821e77b2a0c3bbced8e2a3d83d3b8c2293c7da;hp=b1258304775796ec0946fbdc749dc84bc43c675a;hb=ee9a3607fb03e804ddf624544105f4e34260c380;hpb=d515e86e639890b33a09390d062b0831664f04a2 diff --git a/kernel/sysctl.c b/kernel/sysctl.c index b12583047757..18821e77b2a0 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -52,6 +52,7 @@ #include #include #include +#include #include #include @@ -1444,6 +1445,14 @@ static struct ctl_table fs_table[] = { .child = binfmt_misc_table, }, #endif + { + .procname = "pipe-max-pages", + .data = &pipe_max_pages, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = &proc_dointvec_minmax, + .extra1 = &two, + }, /* * NOTE: do not add new entries to this table unless you have read * Documentation/sysctl/ctl_unnumbered.txt