Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23415eb5 authored by Joe Perches's avatar Joe Perches Committed by Rafael J. Wysocki
Browse files

ACPI / glue: Update DBG macro to include KERN_DEBUG



Currently these DBG statements are emitted at KERN_DEFAULT.
Change the macro to emit at KERN_DEBUG.

This can help avoid unexpected message interleaving.

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 5cc36c72
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -18,9 +18,14 @@

#define ACPI_GLUE_DEBUG	0
#if ACPI_GLUE_DEBUG
#define DBG(x...) printk(PREFIX x)
#define DBG(fmt, ...)						\
	printk(KERN_DEBUG PREFIX fmt, ##__VA_ARGS__)
#else
#define DBG(x...) do { } while(0)
#define DBG(fmt, ...)						\
do {								\
	if (0)							\
		printk(KERN_DEBUG PREFIX fmt, ##__VA_ARGS__);	\
} while (0)
#endif
static LIST_HEAD(bus_type_list);
static DECLARE_RWSEM(bus_type_sem);