Make this compile again.
This commit is contained in:
parent
b48252f365
commit
b9b9cc8cb9
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: pmap.c,v 1.52 1999/09/12 01:17:02 chs Exp $ */
|
/* $NetBSD: pmap.c,v 1.53 1999/09/16 11:58:49 leo Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||||
|
@ -771,7 +771,7 @@ pmap_create()
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (pmapdebug & (PDB_FOLLOW|PDB_CREATE))
|
if (pmapdebug & (PDB_FOLLOW|PDB_CREATE))
|
||||||
printf("pmap_create(%lx)\n", size);
|
printf("pmap_create\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
pmap = (pmap_t) malloc(sizeof *pmap, M_VMPMAP, M_WAITOK);
|
pmap = (pmap_t) malloc(sizeof *pmap, M_VMPMAP, M_WAITOK);
|
||||||
|
@ -1819,11 +1819,12 @@ pmap_clear_modify(pg)
|
||||||
* Clear the reference bit on the specified physical page.
|
* Clear the reference bit on the specified physical page.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
boolean_t
|
||||||
pmap_clear_reference(pg)
|
pmap_clear_reference(pg)
|
||||||
struct vm_page *pg;
|
struct vm_page *pg;
|
||||||
{
|
{
|
||||||
paddr_t pa = VM_PAGE_TO_PHYS(pg);
|
paddr_t pa = VM_PAGE_TO_PHYS(pg);
|
||||||
|
boolean_t rv;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if (pmapdebug & PDB_FOLLOW)
|
if (pmapdebug & PDB_FOLLOW)
|
||||||
|
|
Loading…
Reference in New Issue