diff options
Diffstat (limited to 'kernel/printk.c')
-rw-r--r-- | kernel/printk.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/printk.c b/kernel/printk.c index e95e7c6e7b04..bee36100f110 100644 --- a/kernel/printk.c +++ b/kernel/printk.c | |||
@@ -1251,6 +1251,7 @@ void tty_write_message(struct tty_struct *tty, char *msg) | |||
1251 | return; | 1251 | return; |
1252 | } | 1252 | } |
1253 | 1253 | ||
1254 | #if defined CONFIG_PRINTK | ||
1254 | /* | 1255 | /* |
1255 | * printk rate limiting, lifted from the networking subsystem. | 1256 | * printk rate limiting, lifted from the networking subsystem. |
1256 | * | 1257 | * |
@@ -1320,3 +1321,4 @@ bool printk_timed_ratelimit(unsigned long *caller_jiffies, | |||
1320 | return false; | 1321 | return false; |
1321 | } | 1322 | } |
1322 | EXPORT_SYMBOL(printk_timed_ratelimit); | 1323 | EXPORT_SYMBOL(printk_timed_ratelimit); |
1324 | #endif | ||