summaryrefslogtreecommitdiff
path: root/i386/i386/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/trap.c')
-rw-r--r--i386/i386/trap.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/i386/i386/trap.c b/i386/i386/trap.c
index 64705049..d4bdc7f2 100644
--- a/i386/i386/trap.c
+++ b/i386/i386/trap.c
@@ -351,16 +351,6 @@ int user_trap(struct i386_saved_state *regs)
int type;
thread_t thread = current_thread();
- if ((vm_offset_t)thread < phys_last_addr) {
- printf("user_trap: bad thread pointer 0x%p\n", thread);
- printf("trap type %ld, code 0x%lx, va 0x%lx, eip 0x%lx\n",
- regs->trapno, regs->err, regs->cr2, regs->eip);
- asm volatile ("1: hlt; jmp 1b");
- }
-#if 0
-printf("user trap %d error %d sub %08x\n", type, code, subcode);
-#endif
-
type = regs->trapno;
code = 0;
subcode = 0;