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 out-of-date KASSERT



details:   https://anonhg.NetBSD.org/src/rev/6dc5feda0afd
branches:  trunk
changeset: 767296:6dc5feda0afd
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 14 22:31:22 2011 +0000

description:
Remove out-of-date KASSERT

diffstat:

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

diffs (26 lines):

diff -r d41bd4f85aab -r 6dc5feda0afd sys/arch/mips/mips/process_machdep.c
--- a/sys/arch/mips/mips/process_machdep.c      Thu Jul 14 22:14:03 2011 +0000
+++ b/sys/arch/mips/mips/process_machdep.c      Thu Jul 14 22:31:22 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: process_machdep.c,v 1.35 2011/05/02 00:29:54 rmind Exp $       */
+/*     $NetBSD: process_machdep.c,v 1.36 2011/07/14 22:31:22 matt Exp $        */
 
 /*
  * Copyright (c) 1993 The Regents of the University of California.
@@ -76,7 +76,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.35 2011/05/02 00:29:54 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: process_machdep.c,v 1.36 2011/07/14 22:31:22 matt Exp $");
 
 /*
  * This file may seem a bit stylized, but that so that it's easier to port.
@@ -144,7 +144,6 @@
                *regslen_p = sizeof(struct fpreg_oabi);
 #endif
 
-       KASSERT(l == curlwp);
        fpu_save();
        memcpy(regs, &pcb->pcb_fpregs, sizeof(*regs));
        return 0;



Home | Main Index | Thread Index | Old Index