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)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 4 Jul 2013 22:54:15 +0000 (01:54 +0300)
commitdbd110eb54f53d622e3492efc0eb0398b72b30ef
treef6cd1ccd88b3390a7aa282913f595fdd323328ce
parent9d115bb40134284a4e8f6bfc5d8aae219a4e55c3
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