Module Name: src Committed By: martin Date: Sun May 18 11:04:51 UTC 2014
Modified Files: src/sys/arch/alpha/alpha: fp_complete.c Log Message: No need to re-set MDLWP_FPACTIVE in the REENABLE case - it should be set already. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/alpha/alpha/fp_complete.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/alpha/alpha/fp_complete.c diff -u src/sys/arch/alpha/alpha/fp_complete.c:1.18 src/sys/arch/alpha/alpha/fp_complete.c:1.19 --- src/sys/arch/alpha/alpha/fp_complete.c:1.18 Sun May 18 10:43:54 2014 +++ src/sys/arch/alpha/alpha/fp_complete.c Sun May 18 11:04:51 2014 @@ -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 flag KASSERT(l == curlwp); if (flags & PCU_REENABLE) { - l->l_md.md_flags |= MDLWP_FPACTIVE; + KASSERT(l->l_md.md_flags & MDLWP_FPACTIVE); return; }