Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/usermode Remove panic that prevented multi...



details:   https://anonhg.NetBSD.org/src/rev/fd8fcddd28fc
branches:  trunk
changeset: 769021:fd8fcddd28fc
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Aug 30 10:29:34 2011 +0000

description:
Remove panic that prevented multiple mappings of a pv entry

diffstat:

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

diffs (26 lines):

diff -r 67261b6519a1 -r fd8fcddd28fc sys/arch/usermode/usermode/pmap.c
--- a/sys/arch/usermode/usermode/pmap.c Tue Aug 30 10:12:06 2011 +0000
+++ b/sys/arch/usermode/usermode/pmap.c Tue Aug 30 10:29:34 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.39 2011/08/29 14:59:09 reinoud Exp $ */
+/* $NetBSD: pmap.c,v 1.40 2011/08/30 10:29:34 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <reinoud%NetBSD.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.39 2011/08/29 14:59:09 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.40 2011/08/30 10:29:34 reinoud Exp $");
 
 #include "opt_memsize.h"
 #include "opt_kmempages.h"
@@ -411,7 +411,6 @@
                 ppn, lpn);
 assert(ppn < phys_npages);
 assert(ppn >= 0);
-panic("pv_get: multiple\n");
        pv = pv_alloc();
        if (pv == NULL)
                return NULL;



Home | Main Index | Thread Index | Old Index