[PATCH] ppc32 8xx: use io accessor macros instead of direct memory reference
authorMarcelo Tosatti <marcelo.tosatti@cyclades.com>
Sat, 29 Oct 2005 00:46:10 +0000 (17:46 -0700)
committerPaul Mackerras <paulus@samba.org>
Sat, 29 Oct 2005 03:55:27 +0000 (13:55 +1000)
commite37b0c9670fed2264661ade1beb5c228dec29c96
tree4f23bc5ea578db11de39222aa046804ed9286782
parent9e3699ea7b8d63eabde7fefa9892e3a258c9c27d
[PATCH] ppc32 8xx: use io accessor macros instead of direct memory reference

Convert core 8xx drivers to use in_xxxbe/in_xxx macros instead of direct
memory references.

Other than making IO accesses explicit (which is a plus for readability), a
common set of macros provides a unified place for the volatile flag to
constraint compiler code reordering.

There are several unlucky places at the moment which lack the volatile
flag.

Signed-off-by: Marcelo Tosatti <marcelo.tosatti@cyclades.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/8xx_io/commproc.c
arch/ppc/syslib/m8xx_setup.c
arch/ppc/syslib/m8xx_wdt.c
arch/ppc/syslib/ppc8xx_pic.c