Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Tim Abbott and committed by
Linus Torvalds
edada399 991da17e

+2 -1
+2 -1
arch/powerpc/kernel/vmlinux.lds.S
··· 54 54 ALIGN_FUNCTION(); 55 55 HEAD_TEXT 56 56 _text = .; 57 - *(.text .fixup .text.init.refok .exit.text.refok __ftr_alt_*) 57 + TEXT_TEXT 58 + *(.fixup __ftr_alt_*) 58 59 SCHED_TEXT 59 60 LOCK_TEXT 60 61 KPROBES_TEXT