diff options
Diffstat (limited to 'arch/powerpc/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/powerpc/kernel/vmlinux.lds.S | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S index b9ef1644a722..8ef8a14abc95 100644 --- a/arch/powerpc/kernel/vmlinux.lds.S +++ b/arch/powerpc/kernel/vmlinux.lds.S | |||
@@ -52,9 +52,10 @@ SECTIONS | |||
52 | /* Text and gots */ | 52 | /* Text and gots */ |
53 | .text : AT(ADDR(.text) - LOAD_OFFSET) { | 53 | .text : AT(ADDR(.text) - LOAD_OFFSET) { |
54 | ALIGN_FUNCTION(); | 54 | ALIGN_FUNCTION(); |
55 | *(.text.head) | 55 | HEAD_TEXT |
56 | _text = .; | 56 | _text = .; |
57 | *(.text .fixup .text.init.refok .exit.text.refok __ftr_alt_*) | 57 | /* careful! __ftr_alt_* sections need to be close to .text */ |
58 | *(.text .fixup __ftr_alt_* .ref.text) | ||
58 | SCHED_TEXT | 59 | SCHED_TEXT |
59 | LOCK_TEXT | 60 | LOCK_TEXT |
60 | KPROBES_TEXT | 61 | KPROBES_TEXT |
@@ -263,6 +264,7 @@ SECTIONS | |||
263 | *(.data.page_aligned) | 264 | *(.data.page_aligned) |
264 | } | 265 | } |
265 | 266 | ||
267 | . = ALIGN(L1_CACHE_BYTES); | ||
266 | .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET) { | 268 | .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET) { |
267 | *(.data.cacheline_aligned) | 269 | *(.data.cacheline_aligned) |
268 | } | 270 | } |