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 KASSERT Fires for MIPS1, disable.



details:   https://anonhg.NetBSD.org/src/rev/844ada81c9db
branches:  trunk
changeset: 825443:844ada81c9db
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jul 14 17:54:00 2017 +0000

description:
KASSERT Fires for MIPS1, disable.

diffstat:

 sys/arch/mips/mips/vm_machdep.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 3f63a3451c47 -r 844ada81c9db sys/arch/mips/mips/vm_machdep.c
--- a/sys/arch/mips/mips/vm_machdep.c   Fri Jul 14 17:50:11 2017 +0000
+++ b/sys/arch/mips/mips/vm_machdep.c   Fri Jul 14 17:54:00 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vm_machdep.c,v 1.158 2017/05/11 09:09:54 skrll Exp $   */
+/*     $NetBSD: vm_machdep.c,v 1.159 2017/07/14 17:54:00 christos Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.158 2017/05/11 09:09:54 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.159 2017/07/14 17:54:00 christos Exp $");
 
 #include "opt_ddb.h"
 #include "opt_coredump.h"
@@ -154,10 +154,12 @@
        KASSERT(tf->tf_regs[_R_SR] & MIPS_SR_KX);
        KASSERT(pcb2->pcb_context.val[_L_SR] & MIPS_SR_KX);
 #endif
+#ifndef MIPS1  /* XXX: broken */
        KASSERTMSG(pcb2->pcb_context.val[_L_SR] & MIPS_SR_INT_IE,
            "%d.%d %#"PRIxREGISTER,
            l1->l_proc->p_pid, l1->l_lid,
            pcb2->pcb_context.val[_L_SR]);
+#endif
 }
 
 /*



Home | Main Index | Thread Index | Old Index