]> git.hungrycats.org Git - linux/commit
powerpc: Align p_end
authorAnton Blanchard <anton@samba.org>
Mon, 23 Dec 2013 01:19:51 +0000 (12:19 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jan 2014 17:42:11 +0000 (09:42 -0800)
commit70a9450d1b854b02a0e7d19c6b18f48ed9d7b4db
tree26d363eb75f838d1a6534f8bea8ebaca45eec288
parent4e6cc83041aacf32013022d922c34230ee6e6e90
powerpc: Align p_end

commit 286e4f90a72c0b0621dde0294af6ed4b0baddabb upstream.

p_end is an 8 byte value embedded in the text section. This means it
is only 4 byte aligned when it should be 8 byte aligned. Fix this
by adding an explicit alignment.

This fixes an issue where POWER7 little endian builds with
CONFIG_RELOCATABLE=y fail to boot.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/kernel/head_64.S