x86: Include all of .data.* sections in _edata on 64-bit
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Jul 2009 09:52:55 +0000 (10:52 +0100)
committerIngo Molnar <mingo@elte.hu>
Sat, 18 Jul 2009 11:59:20 +0000 (13:59 +0200)
commit8bcdbe427924a1e4b4e4cf68020e92e9f93fe011
treeb5989ee28a61d5cf9454eb2e6a4c87a36ecf963f
parent6aa542a694dc9ea4344a8a590d2628c33d1b9431
x86: Include all of .data.* sections in _edata on 64-bit

The .data.read_mostly and .data.cacheline_aligned sections
aren't covered by the _sdata .. _edata range on x86-64. This
affects kmemleak reporting leading to possible false
positives by not scanning the whole data section.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Alexey Fisher <bug-track@fisher-privat.net>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
LKML-Reference: <1247565175.28240.37.camel@pc1117.cambridge.arm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Cc: Sam Ravnborg <sam@ravnborg.org>
arch/x86/kernel/vmlinux.lds.S