MN10300: Fix application of kernel module relocations
authorMark Salter <msalter@redhat.com>
Tue, 2 Dec 2008 14:38:09 +0000 (14:38 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Dec 2008 23:52:07 +0000 (15:52 -0800)
commit1122b19b8f4da2ee6d6b21780f86bea7957f641e
treebcdd0d1c4d12019bbf3a38f1d0d9147310bb11a0
parent026bde120a161d9035502a47dd311bd572f6d31f
MN10300: Fix application of kernel module relocations

This fixes the MN10300 kernel module linking to match the toolchain.  RELA
relocs don't use the value at the location being relocated.  This has been
working because the tools always leave the value at the target location
cleared.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/kernel/module.c