Skip to content

Commit

Permalink
powerpc: Use TEXT_TEXT macro in linker script.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tim Abbott authored and Linus Torvalds committed Apr 28, 2009
1 parent 991da17 commit edada39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/powerpc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit edada39

Please sign in to comment.