if (panic_on_oops)
if (panic_on_oops) { struct device_node *dn = pci_device_to_OF_node(dev); eeh_slot_error_detail (PCI_DN(dn), 2 );
static void eeh_panic(struct pci_dev *dev, int reset_state){	/*	 * XXX We should create a separate sysctl for this.	 *	 * Since the panic_on_oops sysctl is used to halt the system	 * in light of potential corruption, we can use it here.	 */	if (panic_on_oops)		panic("EEH: MMIO failure (%d) on device:%s\n", reset_state,		      pci_name(dev));	else {		__get_cpu_var(ignored_failures)++;		printk(KERN_INFO "EEH: Ignored MMIO failure (%d) on device:%s\n",		       reset_state, pci_name(dev));	}}