summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2011-06-06 16:47:23 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2011-06-08 04:03:53 +0200
commit40182373ac6cbbd10c6d08ba339947eea009d513 (patch)
tree46e32ff39e52731ba49f10faa61732c2e0eec925 /arch/mn10300/kernel/vmlinux.lds.S
parentMN10300: die_if_no_fixup() shouldn't use get_user() as it doesn't call set_fs() (diff)
downloadlinux-40182373ac6cbbd10c6d08ba339947eea009d513.tar.xz
linux-40182373ac6cbbd10c6d08ba339947eea009d513.zip
MN10300: Add missing _sdata declaration
_sdata needs to be declared in the linker script now as of commit a2d063ac216c ("extable, core_kernel_data(): Make sure all archs define _sdata") Signed-off-by: David Howells <dhowells@redhat.com> Cc: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--arch/mn10300/kernel/vmlinux.lds.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mn10300/kernel/vmlinux.lds.S b/arch/mn10300/kernel/vmlinux.lds.S
index 6f702a6ab395..13c4814c29f8 100644
--- a/arch/mn10300/kernel/vmlinux.lds.S
+++ b/arch/mn10300/kernel/vmlinux.lds.S
@@ -44,6 +44,7 @@ SECTIONS
RO_DATA(PAGE_SIZE)
/* writeable */
+ _sdata = .; /* Start of rw data section */
RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
_edata = .;