diff options
-rw-r--r-- | sys/arch/amd64/amd64/trap.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/arch/amd64/amd64/trap.c b/sys/arch/amd64/amd64/trap.c index 8c33c0bec26..b51dc4299f7 100644 --- a/sys/arch/amd64/amd64/trap.c +++ b/sys/arch/amd64/amd64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.73 2018/07/06 02:43:01 guenther Exp $ */ +/* $OpenBSD: trap.c,v 1.74 2019/02/03 01:45:57 guenther Exp $ */ /* $NetBSD: trap.c,v 1.2 2003/05/04 23:51:56 fvdl Exp $ */ /*- @@ -284,20 +284,11 @@ kerntrap(struct trapframe *frame) type, frame->tf_err, frame->tf_rip); /*NOTREACHED*/ - case T_PROTFLT: - case T_SEGNPFLT: - case T_ALIGNFLT: - case T_TSSFLT: - goto we_re_toast; - case T_PAGEFLT: /* allow page faults in kernel mode */ if (pageflttrap(frame, 0)) return; goto we_re_toast; - case T_TRCTRAP: - goto we_re_toast; - #if NISA > 0 case T_NMI: #ifdef DDB |