Remove useless call to fpu_sigreset(), buildcontext() already calls it.
This commit is contained in:
parent
62e72db86a
commit
54d2bb2a1a
|
@ -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.
|
* Copyright (c) 1996, 1997, 1998, 2000 The NetBSD Foundation, Inc.
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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
|
#ifdef _KERNEL_OPT
|
||||||
#include "opt_compat_netbsd.h"
|
#include "opt_compat_netbsd.h"
|
||||||
|
@ -232,7 +232,6 @@ sendsig_sigcontext(const ksiginfo_t *ksi, const sigset_t *mask)
|
||||||
/* NOTREACHED */
|
/* NOTREACHED */
|
||||||
}
|
}
|
||||||
|
|
||||||
fpu_sigreset(l);
|
|
||||||
buildcontext(l, sel, catcher, fp);
|
buildcontext(l, sel, catcher, fp);
|
||||||
|
|
||||||
/* Remember that we're now on the signal stack. */
|
/* Remember that we're now on the signal stack. */
|
||||||
|
|
Loading…
Reference in New Issue