aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-05-13 00:31:33 +0200
committerSam Ravnborg <sam@ravnborg.org>2007-05-19 09:11:57 +0200
commit7664709b44a13e2e0b545e2dd8e7b8797a1748dc (patch)
treefcb8e87dd21f90a376fab8ad22a298021a2435e5 /arch/powerpc
parentcd5477911fc9f5cc64678e2b95cdd606c59a11b5 (diff)
all-archs: consolidate .text section definition in asm-generic
Move definition of .text section to asm-generic. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/powerpc')
-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 13206731314..f2662098886 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -34,7 +34,8 @@ SECTIONS
/* Text and gots */
.text : {
_text = .;
- *(.text .text.*)
+ *(.text.*)
+ TEXT_TEXT
SCHED_TEXT
LOCK_TEXT
KPROBES_TEXT