Only call kdb_trap() if the DDB config option is specified.
This commit is contained in:
parent
9c25701692
commit
c3b8f29aea
@ -234,7 +234,9 @@ machine_check(mces, framep, vector, param)
|
|||||||
printf(" pid = %d, comm = %s\n", curproc->p_pid,
|
printf(" pid = %d, comm = %s\n", curproc->p_pid,
|
||||||
curproc->p_comm);
|
curproc->p_comm);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
#ifdef DDB
|
||||||
kdb_trap(mces, vector, param, ALPHA_KENTRY_MM, framep);
|
kdb_trap(mces, vector, param, ALPHA_KENTRY_MM, framep);
|
||||||
|
#endif
|
||||||
panic("machine check");
|
panic("machine check");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user