Don't panic so easily on unexpected pagefault.

This commit is contained in:
Cristiano Giuffrida 2010-07-20 23:51:34 +00:00
parent 91a83fe265
commit 03bb1e5750

View file

@ -74,8 +74,8 @@ PRIVATE void pagefault( struct proc *pr,
pagefaultcr2, frame->errcode, is_nested);
proc_stacktrace(pr);
printf("pc of pagefault: 0x%lx\n", frame->eip);
panic("page fault in system process: %d", pr->p_endpoint);
cause_sig(proc_nr(pr), SIGSEGV);
return;
}