Source-Changes-HG archive

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

[src/netbsd-9]: src/sys/arch/x86/x86 Apply patch, requested by bouyer in tick...



details:   https://anonhg.NetBSD.org/src/rev/ab0c8b202036
branches:  netbsd-9
changeset: 934210:ab0c8b202036
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jun 07 12:54:39 2020 +0000

description:
Apply patch, requested by bouyer in ticket #941:

        sys/arch/x86/x86/pmap.c                 (apply patch)

Fix Xen dom0 kernel build with options DIAGNOSTIC.

diffstat:

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

diffs (27 lines):

diff -r fa17492e23dc -r ab0c8b202036 sys/arch/x86/x86/pmap.c
--- a/sys/arch/x86/x86/pmap.c   Sun Jun 07 12:50:17 2020 +0000
+++ b/sys/arch/x86/x86/pmap.c   Sun Jun 07 12:54:39 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.334.2.2 2020/05/31 10:39:35 martin Exp $    */
+/*     $NetBSD: pmap.c,v 1.334.2.3 2020/06/07 12:54:39 martin Exp $    */
 
 /*
  * Copyright (c) 2008, 2010, 2016, 2017 The NetBSD Foundation, Inc.
@@ -130,7 +130,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.334.2.2 2020/05/31 10:39:35 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.334.2.3 2020/06/07 12:54:39 martin Exp $");
 
 #include "opt_user_ldt.h"
 #include "opt_lockdebug.h"
@@ -4461,7 +4461,7 @@
        struct pmap_data_gnt_head *headp = pmap->pm_data;
        int nentries = (pgnt->pd_gnt_eva - pgnt->pd_gnt_sva) / PAGE_SIZE;
        KASSERT(nentries >= 1);
-       KASSERT(mutex_owned(&pmap->pm_lock));
+       KASSERT(mutex_owned(pmap->pm_lock));
        KASSERT(pgnt->pd_gnt_refs == 0);
        SLIST_REMOVE(headp, pgnt, pmap_data_gnt, pd_gnt_list);
        kmem_free(pgnt, sizeof(*pgnt) +



Home | Main Index | Thread Index | Old Index