pmap_kenter_pa: Remove comment which says ``Have to remove any existing
mapping first.'' Contrary to this comment, pmap_kremove(9) has never been called there since rev 1.1, and we don't for other ports also.
This commit is contained in:
parent
e441d472ea
commit
d15d990682
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.c,v 1.91 2020/09/10 03:02:36 rin Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.92 2020/09/10 03:23:55 rin Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -67,7 +67,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.91 2020/09/10 03:02:36 rin Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.92 2020/09/10 03:23:55 rin Exp $");
|
||||
|
||||
#ifdef _KERNEL_OPT
|
||||
#include "opt_ddb.h"
|
||||
@ -930,10 +930,6 @@ pmap_kenter_pa(vaddr_t va, paddr_t pa, vm_prot_t prot, u_int flags)
|
||||
u_int tte;
|
||||
struct pmap *pm = pmap_kernel();
|
||||
|
||||
/*
|
||||
* Have to remove any existing mapping first.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Generate TTE.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user