No need to re-set MDLWP_FPACTIVE in the REENABLE case - it should be

set already.
This commit is contained in:
martin 2014-05-18 11:04:51 +00:00
parent 3313ae3d61
commit 13bd467664
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fp_complete.c,v 1.18 2014/05/18 10:43:54 martin Exp $ */
/* $NetBSD: fp_complete.c,v 1.19 2014/05/18 11:04:51 martin Exp $ */
/*-
* Copyright (c) 2001 Ross Harvey
@ -35,7 +35,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.18 2014/05/18 10:43:54 martin Exp $");
__KERNEL_RCSID(0, "$NetBSD: fp_complete.c,v 1.19 2014/05/18 11:04:51 martin Exp $");
#include "opt_compat_osf1.h"
@ -726,7 +726,7 @@ fpu_state_load(struct lwp *l, u_int flags)
KASSERT(l == curlwp);
if (flags & PCU_REENABLE) {
l->l_md.md_flags |= MDLWP_FPACTIVE;
KASSERT(l->l_md.md_flags & MDLWP_FPACTIVE);
return;
}