|
@@ -1405,7 +1405,6 @@ bool printk_timed_ratelimit(unsigned long *caller_jiffies,
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|
|
EXPORT_SYMBOL(printk_timed_ratelimit);
|
|
EXPORT_SYMBOL(printk_timed_ratelimit);
|
|
-#endif
|
|
|
|
|
|
|
|
static DEFINE_SPINLOCK(dump_list_lock);
|
|
static DEFINE_SPINLOCK(dump_list_lock);
|
|
static LIST_HEAD(dump_list);
|
|
static LIST_HEAD(dump_list);
|
|
@@ -1524,3 +1523,4 @@ void kmsg_dump(enum kmsg_dump_reason reason)
|
|
dumper->dump(dumper, reason, s1, l1, s2, l2);
|
|
dumper->dump(dumper, reason, s1, l1, s2, l2);
|
|
spin_unlock_irqrestore(&dump_list_lock, flags);
|
|
spin_unlock_irqrestore(&dump_list_lock, flags);
|
|
}
|
|
}
|
|
|
|
+#endif
|