diff options
author | Nicolas Pitre <nico@cam.org> | 2008-03-31 12:38:31 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-06-22 22:44:38 +0200 |
commit | 2239aff6ab2b95af1f628eee7a809f21c41605b3 (patch) | |
tree | fd940074a312d252976da05f7e4457c446e14027 /arch/arm/mach-ixp2000/ixdp2800.c | |
parent | 4c4925c1f4ccd72002957c3e73b4f117f2bcf712 (diff) |
[ARM] cache align destination pointer when copying memory for some processors
The implementation for memory copy functions on ARM had a (disabled)
provision for aligning the source pointer before loading registers with
data. Turns out that aligning the _destination_ pointer is much more
useful, as the read side is already sufficiently helped with the use of
preload.
So this changes the definition of the CALGN() macro to target the
destination pointer instead, and turns it on for Feroceon processors
where the gain is very noticeable.
Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'arch/arm/mach-ixp2000/ixdp2800.c')
0 files changed, 0 insertions, 0 deletions