powerpc: Use TEXT_TEXT macro in linker script.
authorTim Abbott <tabbott@MIT.EDU>
Mon, 27 Apr 2009 18:02:23 +0000 (14:02 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Apr 2009 02:51:58 +0000 (19:51 -0700)
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>
arch/powerpc/kernel/vmlinux.lds.S

index d7425fffbc1c0a5d3f80efe8091ddfdd54dc97e3..433ae118406de865c371165158cffbb761c685ed 100644 (file)
@@ -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