[POWERPC] Convert from DBG() to pr_debug() in platforms/pseries/
In pseries/lpar.c, fix some printf specifier mismatches, and add a newline to one printk. In pseries/rtasd.c add "rtasd" to some messages to make it clear where they're coming from. In pseries/scanlog.c remove the hand-rolled runtime debugging support in there. This file has been largely unchanged for eons, if we need to debug it in future we can recompile. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
cb1e2ab45a
commit
f7ebf352b2
@@ -27,11 +27,6 @@
|
||||
#include <asm/prom.h>
|
||||
#include <asm/udbg.h>
|
||||
|
||||
#ifdef DEBUG
|
||||
#define DBG(fmt...) udbg_printf(fmt)
|
||||
#else
|
||||
#define DBG(fmt...)
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
unsigned long val;
|
||||
@@ -72,7 +67,7 @@ void __init fw_feature_init(const char *hypertas, unsigned long len)
|
||||
const char *s;
|
||||
int i;
|
||||
|
||||
DBG(" -> fw_feature_init()\n");
|
||||
pr_debug(" -> fw_feature_init()\n");
|
||||
|
||||
for (s = hypertas; s < hypertas + len; s += strlen(s) + 1) {
|
||||
for (i = 0; i < FIRMWARE_MAX_FEATURES; i++) {
|
||||
@@ -88,5 +83,5 @@ void __init fw_feature_init(const char *hypertas, unsigned long len)
|
||||
}
|
||||
}
|
||||
|
||||
DBG(" <- fw_feature_init()\n");
|
||||
pr_debug(" <- fw_feature_init()\n");
|
||||
}
|
||||
|
Reference in New Issue
Block a user