[ARM] 3064/1: start using ixp2000_reg_wrb
authorLennert Buytenhek <buytenh@wantstofly.org>
Tue, 1 Nov 2005 19:44:26 +0000 (19:44 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 1 Nov 2005 19:44:26 +0000 (19:44 +0000)
commite9b72e43d96a1ea2be0f513c78f16743a835d252
treeed3a2cb9a84f56754ac1e4469c3a58f963b86237
parent69a857610ad212ce4bcd8e6b13f25408691403de
[ARM] 3064/1: start using ixp2000_reg_wrb

Patch from Lennert Buytenhek

Switch the users of ixp2000_reg_write that depend on writes being
flushed out of the write buffer by the time that function returns
over to ixp2000_reg_wrb.

When using XCB=101, writes to the same functional unit are still
guaranteed to complete in order, so we only need to protect against:
- reordering of writes to different functional units
- masking an interrupt and then reenabling the IRQ bit in CPSR

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Deepak Saxena <dsaxena@plexity.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp2000/core.c
arch/arm/mach-ixp2000/ixdp2x00.c
arch/arm/mach-ixp2000/ixdp2x01.c
arch/arm/mach-ixp2000/pci.c
include/asm-arm/arch-ixp2000/system.h