[PATCH v3 0/3] Ordered I/O accessors
Catalin Marinas
catalin.marinas at arm.com
Wed Jul 14 11:01:12 EDT 2010
Hi,
This version replaces the do { ... } while (0) constructs in the final
patch with ({ ... }) to avoid errors in drivers putting brackets around
the write*() accessors. To avoid the write*() macro having a non-void
type (and possibly the compiler generating code to read a register), the
first patch explicitly casts the __raw_write*() accessors to (void).
Catalin Marinas (3):
ARM: Introduce *_relaxed() I/O accessors
ARM: Convert L2x0 to use the IO relaxed operations
ARM: Add barriers to the I/O accessors if ARM_DMA_MEM_BUFFERABLE
arch/arm/include/asm/io.h | 40 ++++++++++++++++++++++++++++------------
arch/arm/mm/cache-l2x0.c | 26 +++++++++++++-------------
2 files changed, 41 insertions(+), 25 deletions(-)
--
Catalin
More information about the linux-arm-kernel
mailing list