alpha: use L1_CACHE_BYTES for cacheline size in the linker script
authorTejun Heo <tj@kernel.org>
Tue, 25 Jan 2011 13:27:38 +0000 (14:27 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 25 Jan 2011 13:27:38 +0000 (14:27 +0100)
commit0f06c063628689de5eab5dfb3ce9c797a09db900
tree8bd89fdef472562e966f9a78b03f8d357ec1c707
parent19df0c2fef010e94e90df514aaf4e73f6b80145c
alpha: use L1_CACHE_BYTES for cacheline size in the linker script

Currently the linker script uses 64 for cacheline size which isn't
optimal for all cases.  Include asm/cache.h and use L1_CACHE_BYTES
instead as suggested by Sam Ravnborg.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
arch/alpha/kernel/vmlinux.lds.S