X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=kernel%2Fsysctl.c;h=7c54ff79afd7f053c8ce5a943d4cf7fb9d8acb2b;hb=980f3c344ff1cb4a8be9a169c6bde2dc74ca6288;hp=15f2511a1b7c6e04a48f99c1b6a402f008607ba3;hpb=9c37f95936b6c169e89733747504879b06e77c24;p=linux-2.6-microblaze.git diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 15f2511a1b7c..7c54ff79afd7 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -1104,6 +1104,15 @@ static struct ctl_table kern_table[] = { .proc_handler = proc_dointvec, }, #endif + { + .procname = "panic_on_warn", + .data = &panic_on_warn, + .maxlen = sizeof(int), + .mode = 0644, + .proc_handler = proc_dointvec_minmax, + .extra1 = &zero, + .extra2 = &one, + }, { } };