]> 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)
commit98d3f09845de9ebae963f53cf9df8a52776b24a0
tree6d1a621761d37727a7c88415824fb9736d3f19d5
parent7d27ef7426a599de91de34d2e751266c6c06176f
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