|
@@ -118,7 +118,15 @@ int eeh_send_failure_event (struct device_node *dn,
|
|
|
{
|
|
|
unsigned long flags;
|
|
|
struct eeh_event *event;
|
|
|
+ char *location;
|
|
|
|
|
|
+ if (!mem_init_done) {
|
|
|
+ printk(KERN_ERR "EEH: event during early boot not handled\n");
|
|
|
+ location = (char *) get_property(dn, "ibm,loc-code", NULL);
|
|
|
+ printk(KERN_ERR "EEH: device node = %s\n", dn->full_name);
|
|
|
+ printk(KERN_ERR "EEH: PCI location = %s\n", location);
|
|
|
+ return 1;
|
|
|
+ }
|
|
|
event = kmalloc(sizeof(*event), GFP_ATOMIC);
|
|
|
if (event == NULL) {
|
|
|
printk (KERN_ERR "EEH: out of memory, event not handled\n");
|