Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/alpha No need to re-set MDLWP_FPACTIVE in the...



details:   https://anonhg.NetBSD.org/src/rev/1c3416b234f0
branches:  trunk
changeset: 329292:1c3416b234f0
user:      martin <martin%NetBSD.org@localhost>
date:      Sun May 18 11:04:51 2014 +0000

description:
No need to re-set MDLWP_FPACTIVE in the REENABLE case - it should be
set already.

diffstat:

 sys/arch/alpha/alpha/fp_complete.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 1672424c6156 -r 1c3416b234f0 sys/arch/alpha/alpha/fp_complete.c
--- a/sys/arch/alpha/alpha/fp_complete.c        Sun May 18 10:47:03 2014 +0000
+++ b/sys/arch/alpha/alpha/fp_complete.c        Sun May 18 11:04:51 2014 +0000
@@ -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 @@
        KASSERT(l == curlwp);
 
        if (flags & PCU_REENABLE) {
-               l->l_md.md_flags |= MDLWP_FPACTIVE;
+               KASSERT(l->l_md.md_flags & MDLWP_FPACTIVE);
                return;
        }
 



Home | Main Index | Thread Index | Old Index