frv: fix use of extinct _sbss and _ebss in debug code
authorGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 17 Dec 2012 23:59:26 +0000 (15:59 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 18 Dec 2012 01:15:12 +0000 (17:15 -0800)
Nowadays it should probably use __bss_start and __bss_stop

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/frv/kernel/setup.c
arch/frv/mm/init.c

index b8993c87d3de8473d95141560fdb82aef0aa1085..961e184955896e695f5f7c7d5c16dd144c39ae3f 100644 (file)
@@ -817,7 +817,7 @@ void __init setup_arch(char **cmdline_p)
        printk("KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x BSS=0x%06x-0x%06x\n",
               (int) &_stext, (int) &_etext,
               (int) &_sdata, (int) &_edata,
-              (int) &_sbss, (int) &_ebss);
+              (int) &__bss_start, (int) &__bss_stop);
 #endif
 
 #ifdef CONFIG_VT
index a19effcccb34cbf1a60e0404e18a01758ba84d61..92e97b0894a68bbebcc138bf93305b69624c0ee7 100644 (file)
@@ -146,7 +146,7 @@ void __init mem_init(void)
 
 #else
        codek = (_etext - _stext) >> 10;
-       datak = 0; //(_ebss - _sdata) >> 10;
+       datak = 0; //(__bss_stop - _sdata) >> 10;
 #endif
 
        tmp = nr_free_pages() << PAGE_SHIFT;