aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/printk.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/printk.c')
-rw-r--r--kernel/printk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/printk.c b/kernel/printk.c
index b997c893cdcf..8283dbe15af4 100644
--- a/kernel/printk.c
+++ b/kernel/printk.c
@@ -1364,11 +1364,11 @@ late_initcall(disable_boot_consoles);
1364 */ 1364 */
1365DEFINE_RATELIMIT_STATE(printk_ratelimit_state, 5 * HZ, 10); 1365DEFINE_RATELIMIT_STATE(printk_ratelimit_state, 5 * HZ, 10);
1366 1366
1367int printk_ratelimit(void) 1367int __printk_ratelimit(const char *func)
1368{ 1368{
1369 return __ratelimit(&printk_ratelimit_state); 1369 return ___ratelimit(&printk_ratelimit_state, func);
1370} 1370}
1371EXPORT_SYMBOL(printk_ratelimit); 1371EXPORT_SYMBOL(__printk_ratelimit);
1372 1372
1373/** 1373/**
1374 * printk_timed_ratelimit - caller-controlled printk ratelimiting 1374 * printk_timed_ratelimit - caller-controlled printk ratelimiting