diff options
author | David S. Miller <davem@davemloft.net> | 2010-04-09 03:14:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 02:46:17 -0400 |
commit | 8b8d8e2840a440d62e8dc0ef36ba433b26f70d32 (patch) | |
tree | 5f093522c03c3120b6d5bccb5c1a2697ef64a899 /arch/sparc | |
parent | 9960e9e8944f9b1ca6af5f7d26400ca45b429600 (diff) |
sparc64: Support kmemleak.
Only missing thing was an _sdata marker in vmlinux.lds.S
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc')
-rw-r--r-- | arch/sparc/kernel/vmlinux.lds.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/kernel/vmlinux.lds.S b/arch/sparc/kernel/vmlinux.lds.S index c4f5758c9dc7..0c1e6783657f 100644 --- a/arch/sparc/kernel/vmlinux.lds.S +++ b/arch/sparc/kernel/vmlinux.lds.S | |||
@@ -52,6 +52,10 @@ SECTIONS | |||
52 | _etext = .; | 52 | _etext = .; |
53 | 53 | ||
54 | RO_DATA(PAGE_SIZE) | 54 | RO_DATA(PAGE_SIZE) |
55 | |||
56 | /* Start of data section */ | ||
57 | _sdata = .; | ||
58 | |||
55 | .data1 : { | 59 | .data1 : { |
56 | *(.data1) | 60 | *(.data1) |
57 | } | 61 | } |