Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment