]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ARM: 7320/1: Fix proc_info table alignment
authorMarc Zyngier <Marc.Zyngier@arm.com>
Tue, 7 Feb 2012 01:46:38 +0000 (02:46 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Feb 2012 16:25:37 +0000 (16:25 +0000)
commitb8b9987ffdc2ab9c5e2c1edad556b23ccb38249b
tree2a09d6c72facf9288d173bd71b4fcca71ba689c6
parentd65b4e98d7ea3038b767b70fe8be959b2913f16d
ARM: 7320/1: Fix proc_info table alignment

With an admittedly exotic choice of configuration options
(CC_OPTIMIZE_FOR_SIZE, THUMB2, some other size-minimizing ones)
and compiler, the proc_info table can end up being misaligned,
and the kernel being unbootable (Error: unrecognized/unsupported
processor variant).

Forcing the alignement to 4 bytes in the linker script fixes the
issue.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/vmlinux.lds.S