diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/printk.c | 1 | ||||
-rw-r--r-- | kernel/sysctl.c | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index 602033acd6c7..b997c893cdcf 100644 --- a/kernel/printk.c +++ b/kernel/printk.c | |||
@@ -33,6 +33,7 @@ | |||
33 | #include <linux/bootmem.h> | 33 | #include <linux/bootmem.h> |
34 | #include <linux/syscalls.h> | 34 | #include <linux/syscalls.h> |
35 | #include <linux/kexec.h> | 35 | #include <linux/kexec.h> |
36 | #include <linux/ratelimit.h> | ||
36 | 37 | ||
37 | #include <asm/uaccess.h> | 38 | #include <asm/uaccess.h> |
38 | 39 | ||
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 1a631ba684a4..6c37048b9db9 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/sysrq.h> | 37 | #include <linux/sysrq.h> |
38 | #include <linux/highuid.h> | 38 | #include <linux/highuid.h> |
39 | #include <linux/writeback.h> | 39 | #include <linux/writeback.h> |
40 | #include <linux/ratelimit.h> | ||
40 | #include <linux/hugetlb.h> | 41 | #include <linux/hugetlb.h> |
41 | #include <linux/initrd.h> | 42 | #include <linux/initrd.h> |
42 | #include <linux/key.h> | 43 | #include <linux/key.h> |
@@ -155,6 +156,8 @@ extern int no_unaligned_warning; | |||
155 | extern int unaligned_dump_stack; | 156 | extern int unaligned_dump_stack; |
156 | #endif | 157 | #endif |
157 | 158 | ||
159 | extern struct ratelimit_state printk_ratelimit_state; | ||
160 | |||
158 | #ifdef CONFIG_RT_MUTEXES | 161 | #ifdef CONFIG_RT_MUTEXES |
159 | extern int max_lock_depth; | 162 | extern int max_lock_depth; |
160 | #endif | 163 | #endif |