diff options
Diffstat (limited to 'arch/ppc64/kernel')
-rw-r--r-- | arch/ppc64/kernel/eeh.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/ppc64/kernel/eeh.c b/arch/ppc64/kernel/eeh.c index 0c52c2de92e0..9df1d5018363 100644 --- a/arch/ppc64/kernel/eeh.c +++ b/arch/ppc64/kernel/eeh.c | |||
@@ -631,11 +631,12 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev) | |||
631 | pdn = PCI_DN(dn); | 631 | pdn = PCI_DN(dn); |
632 | 632 | ||
633 | /* Access to IO BARs might get this far and still not want checking. */ | 633 | /* Access to IO BARs might get this far and still not want checking. */ |
634 | if (!pdn->eeh_capable || !(pdn->eeh_mode & EEH_MODE_SUPPORTED) || | 634 | if (!(pdn->eeh_mode & EEH_MODE_SUPPORTED) || |
635 | pdn->eeh_mode & EEH_MODE_NOCHECK) { | 635 | pdn->eeh_mode & EEH_MODE_NOCHECK) { |
636 | __get_cpu_var(ignored_check)++; | 636 | __get_cpu_var(ignored_check)++; |
637 | #ifdef DEBUG | 637 | #ifdef DEBUG |
638 | printk ("EEH:ignored check for %s %s\n", pci_name (dev), dn->full_name); | 638 | printk ("EEH:ignored check (%x) for %s %s\n", |
639 | pdn->eeh_mode, pci_name (dev), dn->full_name); | ||
639 | #endif | 640 | #endif |
640 | return 0; | 641 | return 0; |
641 | } | 642 | } |