Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/i386 Remove useless call to fpu_sigreset(), bu...



details:   https://anonhg.NetBSD.org/src/rev/55cab0d62da3
branches:  trunk
changeset: 451381:55cab0d62da3
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun May 19 08:49:08 2019 +0000

description:
Remove useless call to fpu_sigreset(), buildcontext() already calls it.

diffstat:

 sys/arch/i386/i386/compat_16_machdep.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r b52f5c2daa0e -r 55cab0d62da3 sys/arch/i386/i386/compat_16_machdep.c
--- a/sys/arch/i386/i386/compat_16_machdep.c    Sun May 19 08:46:15 2019 +0000
+++ b/sys/arch/i386/i386/compat_16_machdep.c    Sun May 19 08:49:08 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: compat_16_machdep.c,v 1.31 2019/05/19 08:46:15 maxv Exp $      */
+/*     $NetBSD: compat_16_machdep.c,v 1.32 2019/05/19 08:49:08 maxv Exp $      */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.31 2019/05/19 08:46:15 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: compat_16_machdep.c,v 1.32 2019/05/19 08:49:08 maxv Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -232,7 +232,6 @@
                /* NOTREACHED */
        }
 
-       fpu_sigreset(l);
        buildcontext(l, sel, catcher, fp);
 
        /* Remember that we're now on the signal stack. */



Home | Main Index | Thread Index | Old Index