* Patch by Stephen Williams, 19 March 2004
[platform/kernel/u-boot.git] / cpu / mpc8260 / traps.c
index 715ef60..0c39e43 100644 (file)
@@ -140,7 +140,7 @@ MachineCheckException(struct pt_regs *regs)
        dump_pci();
 #endif
        /* clear the error in the error status register */
-       if(immap->im_pci.pci_esr && cpu_to_le32(PCI_ERROR_PCI_NO_RSP)) {
+       if(immap->im_pci.pci_esr & cpu_to_le32(PCI_ERROR_PCI_NO_RSP)) {
                immap->im_pci.pci_esr = cpu_to_le32(PCI_ERROR_PCI_NO_RSP);
                return;
        }