aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2013-08-06 12:01:18 -0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2013-08-13 21:50:19 -0400
commit5b63fee1fe5d10c397d740ffef4d576a196ed72d (patch)
tree0b8670642feb1c8b4fdfb2035123379c93889a6b /arch/powerpc/kernel
parenta12e4537ada6cbe0730cb0c5cf8ed5ff687e2c06 (diff)
powerpc: Align p_toc
p_toc is an 8 byte relative offset to the TOC that we place in the text section. This means it is only 4 byte aligned where it should be 8 byte aligned. Add an explicit alignment. Signed-off-by: Anton Blanchard <anton@samba.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/head_64.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index b61363d557b5..3d11d8038dee 100644
--- a/arch/powerpc/kernel/head_64.S
+++ b/arch/powerpc/kernel/head_64.S
@@ -703,6 +703,7 @@ _GLOBAL(relative_toc)
703 mtlr r0 703 mtlr r0
704 blr 704 blr
705 705
706.balign 8
706p_toc: .llong __toc_start + 0x8000 - 0b 707p_toc: .llong __toc_start + 0x8000 - 0b
707 708
708/* 709/*