summaryrefslogtreecommitdiff
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-01-18 18:36:39 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-01-18 18:36:39 -0800
commit3ca28d64dbfe3ae7aacc952d049b8397cf78f0f4 (patch)
treeb8cf97b261fb14e229b8de564fd40cac478668a6 /kernel/sysctl.c
parent11a61205698b0fd27f1190b0bb72826a6ff00957 (diff)
[PATCH] parintk_ratelimit fix
From: Anton Blanchard <anton@samba.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 371c4f99772c..806c9de5ce08 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -588,6 +588,7 @@ static ctl_table kern_table[] = {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec_jiffies,
+ .strategy = &sysctl_jiffies,
},
{
.ctl_name = KERN_PRINTK_RATELIMIT_BURST,
@@ -596,6 +597,7 @@ static ctl_table kern_table[] = {
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec,
+ .strategy = &sysctl_jiffies,
},
{ .ctl_name = 0 }
};