ARM: 7289/1: vmlinux.lds.S: do not hardcode cacheline size as 32 bytes
authorWill Deacon <will.deacon@arm.com>
Fri, 20 Jan 2012 10:55:54 +0000 (11:55 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 Jan 2012 10:20:04 +0000 (10:20 +0000)
commitf0d5375e3c7b5d7f128af03c5271c328faeb3ae7
tree6d1a621761d37727a7c88415824fb9736d3f19d5
parent06e9905152cd124c53f571296e9904ea89c1a39a
ARM: 7289/1: vmlinux.lds.S: do not hardcode cacheline size as 32 bytes

The linker script assumes a cacheline size of 32 bytes when aligning
the .data..cacheline_aligned and .data..percpu sections.

This patch updates the script to use L1_CACHE_BYTES, which should be set
to 64 on platforms that require it.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/vmlinux.lds.S