commit | 030bb6ebaa6a52d3ad43843d621fe99584d3bfa4 | [log] [tgz] |
---|---|---|
author | Angelo Dureghello <angelo@sysam.it> | Sat Aug 04 23:02:56 2018 +0200 |
committer | Angelo Dureghello <angelo@sysam.it> | Sun Sep 16 00:01:13 2018 +0200 |
tree | d695c1badfaa25d5332f51bae7509980c4b5a1d1 | |
parent | e2f93937ce9684c1c07411344d15eb57ac4ef23b [diff] |
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>