mtd/uclinux: Use generic __bss_stop instead of _ebss
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 31 May 2012 20:39:21 +0000 (22:39 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 27 Jun 2012 07:59:43 +0000 (09:59 +0200)
commit363737d66427c18edb321a06933ac999d9ce5d7f
tree6004bda0a098ccd8292790c2cfb8e28c635545b8
parentdfe1d26d4a90287ede6b5376967375e1f8af3434
mtd/uclinux: Use generic __bss_stop instead of _ebss

The standard (see BSS_SECTION() in <asm-generic/vmlinux.lds.h> and
<asm-generic/sections.h>) symbol for the end of BSS is __bss_stop.
This allows to remove all local declarations that have been added to
several architectures just to please CONFIG_MTD_UCLINUX.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Michal Simek <monstr@monstr.eu>
Acked-by: Greg Ungerer <gerg@uclinux.org>
arch/blackfin/kernel/setup.c
arch/microblaze/include/asm/sections.h
arch/microblaze/kernel/microblaze_ksyms.c
arch/microblaze/kernel/setup.c
arch/microblaze/kernel/vmlinux.lds.S
arch/sh/include/asm/sections.h
arch/sh/kernel/setup.c
arch/sh/kernel/sh_ksyms_32.c
arch/sh/kernel/vmlinux.lds.S
arch/sh/lib/mcount.S
drivers/mtd/maps/uclinux.c