]> Zhao Yanbai Git Server - minix.git/commitdiff
don't print SYSTEM stacktrace on exceptions as it's not scheduled any more.
authorBen Gras <ben@minix3.org>
Mon, 29 Mar 2010 15:32:19 +0000 (15:32 +0000)
committerBen Gras <ben@minix3.org>
Mon, 29 Mar 2010 15:32:19 +0000 (15:32 +0000)
kernel/arch/i386/exception.c

index 334938df8f2d6ac0597fe348ed27c8dc4f6a386d..541add43b6536dc48a8a991920075063da6e41ed 100644 (file)
@@ -66,9 +66,6 @@ void pagefault( struct proc *pr,
                        pr->p_endpoint, pr->p_name, pr->p_reg.pc,
                        pagefaultcr2, frame->errcode, is_nested);
                proc_stacktrace(pr);
-               if(pr->p_endpoint != SYSTEM) {
-                       proc_stacktrace(proc_addr(SYSTEM));
-               }
                printf("pc of pagefault: 0x%lx\n", frame->eip);
                panic("page fault in system process: %d",  pr->p_endpoint);