mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 07:39:47 +00:00
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>
This commit is contained in:
parent
fb29ad7949
commit
308e610e8c
@ -166,15 +166,13 @@ void __init setup_arch(char **cmdline_p)
|
|||||||
printk(KERN_INFO "Motorola M5235EVB support (C)2005 Syn-tech Systems, Inc. (Jate Sujjavanich)\n");
|
printk(KERN_INFO "Motorola M5235EVB support (C)2005 Syn-tech Systems, Inc. (Jate Sujjavanich)\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG
|
pr_debug("KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x "
|
||||||
printk(KERN_DEBUG "KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x "
|
"BSS=0x%06x-0x%06x\n", (int) &_stext, (int) &_etext,
|
||||||
"BSS=0x%06x-0x%06x\n", (int) &_stext, (int) &_etext,
|
(int) &_sdata, (int) &_edata,
|
||||||
(int) &_sdata, (int) &_edata,
|
(int) &_sbss, (int) &_ebss);
|
||||||
(int) &_sbss, (int) &_ebss);
|
pr_debug("MEMORY -> ROMFS=0x%06x-0x%06x MEM=0x%06x-0x%06x\n ",
|
||||||
printk(KERN_DEBUG "MEMORY -> ROMFS=0x%06x-0x%06x MEM=0x%06x-0x%06x\n ",
|
(int) &_ebss, (int) memory_start,
|
||||||
(int) &_ebss, (int) memory_start,
|
(int) memory_start, (int) memory_end);
|
||||||
(int) memory_start, (int) memory_end);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Keep a copy of command line */
|
/* Keep a copy of command line */
|
||||||
*cmdline_p = &command_line[0];
|
*cmdline_p = &command_line[0];
|
||||||
|
@ -126,9 +126,7 @@ void __init mem_init(void)
|
|||||||
unsigned long start_mem = memory_start; /* DAVIDM - these must start at end of kernel */
|
unsigned long start_mem = memory_start; /* DAVIDM - these must start at end of kernel */
|
||||||
unsigned long end_mem = memory_end; /* DAVIDM - this must not include kernel stack at top */
|
unsigned long end_mem = memory_end; /* DAVIDM - this must not include kernel stack at top */
|
||||||
|
|
||||||
#ifdef DEBUG
|
pr_debug("Mem_init: start=%lx, end=%lx\n", start_mem, end_mem);
|
||||||
printk(KERN_DEBUG "Mem_init: start=%lx, end=%lx\n", start_mem, end_mem);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
end_mem &= PAGE_MASK;
|
end_mem &= PAGE_MASK;
|
||||||
high_memory = (void *) end_mem;
|
high_memory = (void *) end_mem;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user