From: Geert Uytterhoeven Date: Mon, 17 Dec 2012 23:59:26 +0000 (-0800) Subject: frv: fix use of extinct _sbss and _ebss in debug code X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=275b8b8917b92822442d6739807a3e033ddbeb5e;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git frv: fix use of extinct _sbss and _ebss in debug code Nowadays it should probably use __bss_start and __bss_stop Signed-off-by: Geert Uytterhoeven Cc: David Howells Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c index b8993c87d3d..961e1849558 100644 --- a/arch/frv/kernel/setup.c +++ b/arch/frv/kernel/setup.c @@ -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 diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c index a19effcccb3..92e97b0894a 100644 --- a/arch/frv/mm/init.c +++ b/arch/frv/mm/init.c @@ -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;