diff options
| author | Angelo Dureghello <angelo@sysam.it> | 2018-08-04 23:02:56 +0200 |
|---|---|---|
| committer | Angelo Dureghello <angelo@sysam.it> | 2018-09-16 00:01:13 +0200 |
| commit | faae49543a0b366087cb733c26f8c581b17abe82 (patch) | |
| tree | d695c1badfaa25d5332f51bae7509980c4b5a1d1 /include/linux/linux_string.h | |
| parent | a1ed3a83be63bfc6e817854b29c9c0572a86bea7 (diff) | |
| download | u-boot-faae49543a0b366087cb733c26f8c581b17abe82.tar.gz u-boot-faae49543a0b366087cb733c26f8c581b17abe82.tar.xz u-boot-faae49543a0b366087cb733c26f8c581b17abe82.zip | |
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 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
