Skip to content
Commit faae4954 authored by Angelo Dureghello's avatar Angelo Dureghello
Browse files

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: default avatarAngelo Dureghello <angelo@sysam.it>
parent a1ed3a83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment