[PATCH/RFC] mtd/uclinux: Use generic __bss_stop instead of _ebss

Paul Mundt lethal at linux-sh.org
Thu May 31 19:47:07 EDT 2012


On Thu, May 31, 2012 at 10:55:39PM +0200, 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>.

I like it. The only reason we have _ebss on sh at all is for the mtd map
anyways.

Acked-by: Paul Mundt <lethal at linux-sh.org>



More information about the linux-mtd mailing list