[PATCH/RFC] mtd/uclinux: Use generic __bss_stop instead of _ebss
Michal Simek
monstr at monstr.eu
Fri Jun 1 00:58:48 EDT 2012
On 05/31/2012 10:55 PM, Geert Uytterhoeven wrote:
> 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.
>
> Not-Yet-Signed-off-by: Geert Uytterhoeven<geert at linux-m68k.org>
> ---
> This is a prerequisite for some future m68k changes:
> - replacing the m68k-specific _[se]bss by the generic __bss_{start,stop},
> - using the asm-generic version of<asm/sections.h>.
> ---
> arch/blackfin/kernel/setup.c | 1 -
> arch/microblaze/include/asm/sections.h | 4 ----
> arch/microblaze/kernel/microblaze_ksyms.c | 3 ---
> arch/microblaze/kernel/setup.c | 4 ++--
> arch/microblaze/kernel/vmlinux.lds.S | 1 -
> arch/sh/include/asm/sections.h | 1 -
> arch/sh/kernel/setup.c | 2 +-
> arch/sh/kernel/sh_ksyms_32.c | 1 -
> arch/sh/kernel/vmlinux.lds.S | 1 -
> arch/sh/lib/mcount.S | 8 +++-----
> drivers/mtd/maps/uclinux.c | 5 ++---
> 11 files changed, 8 insertions(+), 23 deletions(-)
>
Looks good to me.
Acked-by: Michal Simek <monstr at monstr.eu>
Thanks,
Michal
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
More information about the linux-mtd
mailing list