summaryrefslogtreecommitdiffstats
path: root/arch/h8300/kernel
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2012-06-20 21:53:00 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2012-06-20 23:39:35 +0200
commitffb20313c01addc04212577af5f9b1399156a5bd (patch)
tree059ecf08116cb5e0d9e29e18f6d602ebf5310c64 /arch/h8300/kernel
parentxtensa: use the declarations provided by <asm/sections.h> (diff)
downloadlinux-ffb20313c01addc04212577af5f9b1399156a5bd.tar.xz
linux-ffb20313c01addc04212577af5f9b1399156a5bd.zip
h8300: fix use of extinct _sbss and _ebss
Nowadays it should use __bss_start and __bss_stop Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/h8300/kernel')
-rw-r--r--arch/h8300/kernel/setup.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c
index 68d651081bd3..050f13665b8e 100644
--- a/arch/h8300/kernel/setup.c
+++ b/arch/h8300/kernel/setup.c
@@ -54,7 +54,7 @@ unsigned long memory_end;
char __initdata command_line[COMMAND_LINE_SIZE];
-extern int _stext, _etext, _sdata, _edata, _sbss, _ebss, _end;
+extern int _stext, _etext, _sdata, _edata, __bss_start, __bss_stop, _end;
extern int _ramstart, _ramend;
extern char _target_name[];
extern void h8300_gpio_init(void);
@@ -137,10 +137,10 @@ void __init setup_arch(char **cmdline_p)
printk(KERN_DEBUG "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);
printk(KERN_DEBUG "KERNEL -> ROMFS=0x%06x-0x%06x MEM=0x%06x-0x%06x "
"STACK=0x%06x-0x%06x\n",
- (int) &_ebss, (int) memory_start,
+ (int) &__bss_stop, (int) memory_start,
(int) memory_start, (int) memory_end,
(int) memory_end, (int) &_ramend);
#endif