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)
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>

No differences found