From 49569dffb0a8a9cc60e80a90b452ce6b45b76f24 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Mon, 30 Jan 2006 20:34:46 +0000 Subject: Remove dead code; we should never see T_DNA here. ok weingart@, miod@ --- sys/arch/amd64/amd64/trap.c | 12 +----------- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3