Debug message is disabled by default now. If you want to show the message,
please add "option DEBUG" in the config file or in the C source #define DEBUG #include <printk.h>
This commit is contained in:
parent
93c7cd0725
commit
f0ea4a2bc0
10 changed files with 129 additions and 148 deletions
|
|
@ -15,4 +15,10 @@
|
|||
extern int console_loglevel;
|
||||
int printk(const char *fmt, ...);
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DBG(x...) printk(KERN_DEBUG x)
|
||||
#else
|
||||
#define DBG(x...)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue