Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/mips Remove an incorrect KASSERT



details:   https://anonhg.NetBSD.org/src/rev/aa5249c46459
branches:  trunk
changeset: 777644:aa5249c46459
user:      matt <matt%NetBSD.org@localhost>
date:      Mon Feb 27 15:57:21 2012 +0000

description:
Remove an incorrect KASSERT

diffstat:

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

diffs (25 lines):

diff -r eb3bb1a2ada9 -r aa5249c46459 sys/arch/mips/mips/mips_fpu.c
--- a/sys/arch/mips/mips/mips_fpu.c     Mon Feb 27 15:50:48 2012 +0000
+++ b/sys/arch/mips/mips/mips_fpu.c     Mon Feb 27 15:57:21 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_fpu.c,v 1.7 2011/10/29 20:55:36 christos Exp $    */
+/*     $NetBSD: mips_fpu.c,v 1.8 2012/02/27 15:57:21 matt Exp $        */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mips_fpu.c,v 1.7 2011/10/29 20:55:36 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_fpu.c,v 1.8 2012/02/27 15:57:21 matt Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -346,6 +346,5 @@
 mips_fpu_state_release(lwp_t *l)
 {
 
-       KASSERT(l == curlwp);
        l->l_md.md_utf->tf_regs[_R_SR] &= ~MIPS_SR_COP_1_BIT;
 }



Home | Main Index | Thread Index | Old Index