Skip to content

Commit

Permalink
frv: fix use of extinct _sbss and _ebss in debug code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed Dec 18, 2012
1 parent b3dd207 commit 275b8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/frv/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion arch/frv/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 275b8b8

Please sign in to comment.