[ARM] 3965/1: ixp2000: fix handling of pci master aborts
authorLennert Buytenhek <buytenh@wantstofly.org>
Fri, 1 Dec 2006 15:02:40 +0000 (16:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 1 Dec 2006 16:55:22 +0000 (16:55 +0000)
commit2024c39dbba4d036f0b16daf530ad5f4416fb344
treea7f0336412df5e2afc9f68ea1cf2610d586bbaec
parent4e4e520fd52cfdcc7232c4762a78016e7656cad2
[ARM] 3965/1: ixp2000: fix handling of pci master aborts

The master abort check in ixp2000_pci_read_config() recently started
failing due to the compiler optimising out the read access following
the clearing of pci_master_aborts.  Mark pci_master_aborts volatile to
force the compiler to reload it on every use.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ixp2000/pci.c