diff options
author | Joe Perches <joe@perches.com> | 2009-05-15 13:59:37 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2009-06-10 23:09:11 -0400 |
commit | 308e610e8c435d7875842b427dbc99de43a4aec9 (patch) | |
tree | c54ff55f6eb295bdf84b7f43dd0e46a4fe1ffe95 /arch/m68knommu/kernel/setup.c | |
parent | fb29ad7949aeed3d464ba8d2c9772835f456d4c4 (diff) |
arch/m68knommu: Convert #ifdef DEBUG printk(KERN_DEBUG to pr_debug(
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu/kernel/setup.c')
-rw-r--r-- | arch/m68knommu/kernel/setup.c | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/arch/m68knommu/kernel/setup.c b/arch/m68knommu/kernel/setup.c index 5985f1989021..5c2bb3eeaaa2 100644 --- a/arch/m68knommu/kernel/setup.c +++ b/arch/m68knommu/kernel/setup.c | |||
@@ -166,15 +166,13 @@ void __init setup_arch(char **cmdline_p) | |||
166 | printk(KERN_INFO "Motorola M5235EVB support (C)2005 Syn-tech Systems, Inc. (Jate Sujjavanich)\n"); | 166 | printk(KERN_INFO "Motorola M5235EVB support (C)2005 Syn-tech Systems, Inc. (Jate Sujjavanich)\n"); |
167 | #endif | 167 | #endif |
168 | 168 | ||
169 | #ifdef DEBUG | 169 | pr_debug("KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x " |
170 | printk(KERN_DEBUG "KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x " | 170 | "BSS=0x%06x-0x%06x\n", (int) &_stext, (int) &_etext, |
171 | "BSS=0x%06x-0x%06x\n", (int) &_stext, (int) &_etext, | 171 | (int) &_sdata, (int) &_edata, |
172 | (int) &_sdata, (int) &_edata, | 172 | (int) &_sbss, (int) &_ebss); |
173 | (int) &_sbss, (int) &_ebss); | 173 | pr_debug("MEMORY -> ROMFS=0x%06x-0x%06x MEM=0x%06x-0x%06x\n ", |
174 | printk(KERN_DEBUG "MEMORY -> ROMFS=0x%06x-0x%06x MEM=0x%06x-0x%06x\n ", | 174 | (int) &_ebss, (int) memory_start, |
175 | (int) &_ebss, (int) memory_start, | 175 | (int) memory_start, (int) memory_end); |
176 | (int) memory_start, (int) memory_end); | ||
177 | #endif | ||
178 | 176 | ||
179 | /* Keep a copy of command line */ | 177 | /* Keep a copy of command line */ |
180 | *cmdline_p = &command_line[0]; | 178 | *cmdline_p = &command_line[0]; |