]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6c63bd1cf11944848ef98f8e071af1aaf455c13
tree6d1a621761d37727a7c88415824fb9736d3f19d5
parent9196fe7d5895d9e1347319bcdedb7acb3cfaadac
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