aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/cpu/mcf5445x/speed.c
diff options
context:
space:
mode:
authorAngelo Dureghello <angelo@sysam.it>2018-08-04 23:02:56 +0200
committerAngelo Dureghello <angelo@sysam.it>2018-09-16 00:01:13 +0200
commitfaae49543a0b366087cb733c26f8c581b17abe82 (patch)
treed695c1badfaa25d5332f51bae7509980c4b5a1d1 /arch/m68k/cpu/mcf5445x/speed.c
parenta1ed3a83be63bfc6e817854b29c9c0572a86bea7 (diff)
downloadu-boot-faae49543a0b366087cb733c26f8c581b17abe82.tar.gz
m68k: fix multiple memory accesses on swap operations
On a u32 val = __sw32(*addr); multiple memory accesses are not welcome, since "addr" may be an IO peripheral register address. This patch changes __sw16/32 to perform a single memory access for the source value. Signed-off-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'arch/m68k/cpu/mcf5445x/speed.c')
0 files changed, 0 insertions, 0 deletions