[ARM] 3994/1: ixp23xx: fix handling of pci master aborts
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 6 Dec 2006 22:11:33 +0000 (23:11 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 7 Dec 2006 16:16:19 +0000 (16:16 +0000)
The PCI master abort handling issue that affected ixp2000 also
affects ixp23xx.

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

index 3b34fa3..ac7d43d 100644 (file)
@@ -36,7 +36,7 @@
 
 extern int (*external_fault) (unsigned long, struct pt_regs *);
 
-static int pci_master_aborts = 0;
+static volatile int pci_master_aborts = 0;
 
 #ifdef DEBUG
 #define DBG(x...)      printk(x)