]> asedeno.scripts.mit.edu Git - linux.git/commit
m68k: rework raw access macros for the non-MMU case
authorGreg Ungerer <gerg@linux-m68k.org>
Mon, 26 Mar 2018 01:35:13 +0000 (11:35 +1000)
committerGreg Ungerer <gerg@linux-m68k.org>
Sun, 27 May 2018 23:45:26 +0000 (09:45 +1000)
commit4478048b4485285353cc095a47683d2a86509c7d
treeb3e4ea471298b7dbd495ad127569a8e3ed8036c0
parentd97cf70af09721ef416c61faa44543e3b84c9a55
m68k: rework raw access macros for the non-MMU case

The primary and fundamental access macros are really the __raw versions.
So make them the actual implementation for access, and not the read/write
access macros. The read/write macros and functions are built on top of
the raw access (with byte swapping or other actions as required).

This in itself causes no functional change right now. But it will make it
easier to fix and resolve problems with PCI bus access in the future.

Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Reviewed-by: Angelo Dureghello <angelo@sysam.it>
Tested-by: Angelo Dureghello <angelo@sysam.it>
arch/m68k/include/asm/io_no.h