summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2006-01-30 20:34:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2006-01-30 20:34:46 +0000
commit49569dffb0a8a9cc60e80a90b452ce6b45b76f24 (patch)
tree37a0372099ece25eb49ec0dbe21741f90381f751 /sys/arch/amd64
parent8e632030c0189a4ba2df8040a15a6e40888ebcc7 (diff)
Remove dead code; we should never see T_DNA here.
ok weingart@, miod@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/trap.c12
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);