|
|
@@ -289,10 +289,11 @@ extern asmlinkage void dump_stack(void) __cold;
|
|
|
no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
|
|
|
#endif
|
|
|
|
|
|
-#include <linux/dynamic_debug.h>
|
|
|
|
|
|
/* If you are writing a driver, please use dev_dbg instead */
|
|
|
#if defined(CONFIG_DYNAMIC_DEBUG)
|
|
|
+#include <linux/dynamic_debug.h>
|
|
|
+
|
|
|
/* dynamic_pr_debug() uses pr_fmt() internally so we don't need it here */
|
|
|
#define pr_debug(fmt, ...) \
|
|
|
dynamic_pr_debug(fmt, ##__VA_ARGS__)
|