Re: [PATCH] x86: Provide _sdata in the vmlinux_*.lds.S files

From: Ingo Molnar
Date: Thu May 07 2009 - 07:09:46 EST



* Catalin Marinas <catalin.marinas@xxxxxxx> wrote:

> _sdata is a common symbol defined by many architectures and made
> available to the kernel via asm-generic/sections.h. Kmemleak uses this
> symbol when scanning the data sections. The _edata symbol in
> vmlinux_64.lds.S was also moved further down to include the
> .data.read_mostly section.
>
> Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>
> Cc: Ingo Molnar <mingo@xxxxxxx>
> ---
> arch/x86/kernel/vmlinux_32.lds.S | 1 +
> arch/x86/kernel/vmlinux_64.lds.S | 3 ++-
> 2 files changed, 3 insertions(+), 1 deletions(-)

Please do this against the latest x86 tree:

http://people.redhat.com/mingo/tip.git/README

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/