diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-01-30 20:34:46 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2006-01-30 20:34:46 +0000 |
commit | 49569dffb0a8a9cc60e80a90b452ce6b45b76f24 (patch) | |
tree | 37a0372099ece25eb49ec0dbe21741f90381f751 | |
parent | 8e632030c0189a4ba2df8040a15a6e40888ebcc7 (diff) |
Remove dead code; we should never see T_DNA here.
ok weingart@, miod@
-rw-r--r-- | sys/arch/amd64/amd64/trap.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/arch/amd64/amd64/trap.c b/sys/arch/amd64/amd64/trap.c index 53386228579..cd867602460 100644 --- a/sys/arch/amd64/amd64/trap.c +++ b/sys/arch/amd64/amd64/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.8 2005/12/13 00:18:19 jsg Exp $ */ +/* $OpenBSD: trap.c,v 1.9 2006/01/30 20:34:45 kettenis Exp $ */ /* $NetBSD: trap.c,v 1.2 2003/05/04 23:51:56 fvdl Exp $ */ /*- @@ -345,16 +345,6 @@ copyfault: preempt(NULL); goto out; - case T_DNA|T_USER: { - printf("pid %d killed due to lack of floating point\n", - p->p_pid); - sv.sival_ptr = (void *)frame.tf_rip; - KERNEL_PROC_LOCK(p); - trapsignal(p, SIGKILL, type &~ T_USER, FPE_FLTINV, sv); - KERNEL_PROC_UNLOCK(p); - goto out; - } - case T_BOUND|T_USER: sv.sival_ptr = (void *)frame.tf_rip; KERNEL_PROC_LOCK(p); |