Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/x86/x86 unrelax an assertion



details:   https://anonhg.NetBSD.org/src/rev/6877314409fb
branches:  trunk
changeset: 766971:6877314409fb
user:      yamt <yamt%NetBSD.org@localhost>
date:      Tue Jul 05 14:07:12 2011 +0000

description:
unrelax an assertion

diffstat:

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

diffs (27 lines):

diff -r 799d49f3c89c -r 6877314409fb sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Tue Jul 05 14:03:06 2011 +0000
+++ b/sys/arch/x86/x86/pmap.c   Tue Jul 05 14:07:12 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.126 2011/06/24 01:39:41 yamt Exp $  */
+/*     $NetBSD: pmap.c,v 1.127 2011/07/05 14:07:12 yamt Exp $  */
 
 /*-
  * Copyright (c) 2008, 2010 The NetBSD Foundation, Inc.
@@ -171,7 +171,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.126 2011/06/24 01:39:41 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.127 2011/07/05 14:07:12 yamt Exp $");
 
 #include "opt_user_ldt.h"
 #include "opt_lockdebug.h"
@@ -3212,7 +3212,7 @@
            "PG_PVLIST, va = %#" PRIxVADDR ", pa = %#" PRIxPADDR,
            va, (paddr_t)pmap_pte2pa(opte)));
 
-       KASSERT(pmap == pmap_kernel() || uvm_page_locked_p(pg));
+       KASSERT(uvm_page_locked_p(pg));
 
        /* Sync R/M bits. */
        pp = VM_PAGE_TO_PP(pg);



Home | Main Index | Thread Index | Old Index