ARM: 6271/1: Introduce *_relaxed() I/O accessors
authorCatalin Marinas <catalin.marinas@arm.com>
Wed, 28 Jul 2010 21:00:54 +0000 (22:00 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Jul 2010 13:04:36 +0000 (14:04 +0100)
commite936771a76a7b61ca55a5142a3de835c2e196871
tree3ec67935283bbd150bbaa2c9847dec525a0eb031
parent661f10f6b6ce55c737e88c4803453eba4ba3a61c
ARM: 6271/1: Introduce *_relaxed() I/O accessors

This patch introduces readl*_relaxed()/write*_relaxed() as the main I/O
accessors (when __mem_pci is defined). The standard read*()/write*()
macros are now based on the relaxed accessors.

This patch is in preparation for a subsequent patch which adds barriers
to the I/O accessors.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/io.h