aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/m68knommu/kernel/setup.c16
-rw-r--r--arch/m68knommu/mm/init.c4
2 files changed, 8 insertions, 12 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];
diff --git a/arch/m68knommu/mm/init.c b/arch/m68knommu/mm/init.c
index 7befc0c357e0..b1703c67a4f1 100644
--- a/arch/m68knommu/mm/init.c
+++ b/arch/m68knommu/mm/init.c
@@ -126,9 +126,7 @@ void __init mem_init(void)
126 unsigned long start_mem = memory_start; /* DAVIDM - these must start at end of kernel */ 126 unsigned long start_mem = memory_start; /* DAVIDM - these must start at end of kernel */
127 unsigned long end_mem = memory_end; /* DAVIDM - this must not include kernel stack at top */ 127 unsigned long end_mem = memory_end; /* DAVIDM - this must not include kernel stack at top */
128 128
129#ifdef DEBUG 129 pr_debug("Mem_init: start=%lx, end=%lx\n", start_mem, end_mem);
130 printk(KERN_DEBUG "Mem_init: start=%lx, end=%lx\n", start_mem, end_mem);
131#endif
132 130
133 end_mem &= PAGE_MASK; 131 end_mem &= PAGE_MASK;
134 high_memory = (void *) end_mem; 132 high_memory = (void *) end_mem;