summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTim Abbott <tabbott@MIT.EDU>2009-04-27 20:02:23 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-04-28 04:51:58 +0200
commitedada399e81303e85a1090b3cf0f3c5b13ff5f53 (patch)
tree91b98f43f78f886d9338401cd45cd3b155fef6ae /arch
parentarm: Use __INIT macro instead of .text.init. (diff)
downloadlinux-edada399e81303e85a1090b3cf0f3c5b13ff5f53.tar.xz
linux-edada399e81303e85a1090b3cf0f3c5b13ff5f53.zip
powerpc: Use TEXT_TEXT macro in linker script.
Rather than adding .ref.text to the powerpc linker script so that we can use __REF on the powerpc architecture, it seems simpler to switch to using the generic TEXT_TEXT macro. Signed-off-by: Tim Abbott <tabbott@mit.edu> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/kernel/vmlinux.lds.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index d7425fffbc1c..433ae118406d 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -54,7 +54,8 @@ SECTIONS
ALIGN_FUNCTION();
HEAD_TEXT
_text = .;
- *(.text .fixup .text.init.refok .exit.text.refok __ftr_alt_*)
+ TEXT_TEXT
+ *(.fixup __ftr_alt_*)
SCHED_TEXT
LOCK_TEXT
KPROBES_TEXT