diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-04-24 01:13:19 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-04-24 07:08:12 -0400 |
commit | f7ebf352b2e04ee89efb426e33dd450d8f1cfcd5 (patch) | |
tree | 9a46055bfeb2ab5392cdef3650a000898b58f4c6 /arch/powerpc/platforms/pseries/firmware.c | |
parent | cb1e2ab45a92b31114dfe6e34832a084f9b0b263 (diff) |
[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>
Diffstat (limited to 'arch/powerpc/platforms/pseries/firmware.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/firmware.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/powerpc/platforms/pseries/firmware.c b/arch/powerpc/platforms/pseries/firmware.c index b765b7c77b65..743d494c06dd 100644 --- a/arch/powerpc/platforms/pseries/firmware.c +++ b/arch/powerpc/platforms/pseries/firmware.c | |||
@@ -27,11 +27,6 @@ | |||
27 | #include <asm/prom.h> | 27 | #include <asm/prom.h> |
28 | #include <asm/udbg.h> | 28 | #include <asm/udbg.h> |
29 | 29 | ||
30 | #ifdef DEBUG | ||
31 | #define DBG(fmt...) udbg_printf(fmt) | ||
32 | #else | ||
33 | #define DBG(fmt...) | ||
34 | #endif | ||
35 | 30 | ||
36 | typedef struct { | 31 | typedef struct { |
37 | unsigned long val; | 32 | unsigned long val; |
@@ -72,7 +67,7 @@ void __init fw_feature_init(const char *hypertas, unsigned long len) | |||
72 | const char *s; | 67 | const char *s; |
73 | int i; | 68 | int i; |
74 | 69 | ||
75 | DBG(" -> fw_feature_init()\n"); | 70 | pr_debug(" -> fw_feature_init()\n"); |
76 | 71 | ||
77 | for (s = hypertas; s < hypertas + len; s += strlen(s) + 1) { | 72 | for (s = hypertas; s < hypertas + len; s += strlen(s) + 1) { |
78 | for (i = 0; i < FIRMWARE_MAX_FEATURES; i++) { | 73 | for (i = 0; i < FIRMWARE_MAX_FEATURES; i++) { |
@@ -88,5 +83,5 @@ void __init fw_feature_init(const char *hypertas, unsigned long len) | |||
88 | } | 83 | } |
89 | } | 84 | } |
90 | 85 | ||
91 | DBG(" <- fw_feature_init()\n"); | 86 | pr_debug(" <- fw_feature_init()\n"); |
92 | } | 87 | } |