diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2012-12-17 18:59:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-17 20:15:12 -0500 |
commit | 275b8b8917b92822442d6739807a3e033ddbeb5e (patch) | |
tree | ab461a6271e2756e9c3225d218be7f4ff0a24f02 /arch/frv | |
parent | b3dd20709db2cab0da0ade1f246fd6e6ab1396eb (diff) |
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 <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>
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/kernel/setup.c | 2 | ||||
-rw-r--r-- | arch/frv/mm/init.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c index b8993c87d3de..961e18495589 100644 --- a/arch/frv/kernel/setup.c +++ b/arch/frv/kernel/setup.c | |||
@@ -817,7 +817,7 @@ void __init setup_arch(char **cmdline_p) | |||
817 | printk("KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x BSS=0x%06x-0x%06x\n", | 817 | printk("KERNEL -> TEXT=0x%06x-0x%06x DATA=0x%06x-0x%06x BSS=0x%06x-0x%06x\n", |
818 | (int) &_stext, (int) &_etext, | 818 | (int) &_stext, (int) &_etext, |
819 | (int) &_sdata, (int) &_edata, | 819 | (int) &_sdata, (int) &_edata, |
820 | (int) &_sbss, (int) &_ebss); | 820 | (int) &__bss_start, (int) &__bss_stop); |
821 | #endif | 821 | #endif |
822 | 822 | ||
823 | #ifdef CONFIG_VT | 823 | #ifdef CONFIG_VT |
diff --git a/arch/frv/mm/init.c b/arch/frv/mm/init.c index a19effcccb34..92e97b0894a6 100644 --- a/arch/frv/mm/init.c +++ b/arch/frv/mm/init.c | |||
@@ -146,7 +146,7 @@ void __init mem_init(void) | |||
146 | 146 | ||
147 | #else | 147 | #else |
148 | codek = (_etext - _stext) >> 10; | 148 | codek = (_etext - _stext) >> 10; |
149 | datak = 0; //(_ebss - _sdata) >> 10; | 149 | datak = 0; //(__bss_stop - _sdata) >> 10; |
150 | #endif | 150 | #endif |
151 | 151 | ||
152 | tmp = nr_free_pages() << PAGE_SHIFT; | 152 | tmp = nr_free_pages() << PAGE_SHIFT; |