From 569d43a2bbf4582bde9a26adbe2ce7dc3c94e979 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 4 Sep 1998 13:10:34 +0000 Subject: [PATCH] PAGE_WAKEUP -> vm_page_wakeup --- sys/amd64/amd64/pmap.c | 14 +++++++------- sys/i386/i386/pmap.c | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 9e3551b85fc9..76f5bcf9c5e0 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.206 1998/08/16 00:41:40 bde Exp $ + * $Id: pmap.c,v 1.207 1998/08/23 10:16:25 bde Exp $ */ /* @@ -1010,7 +1010,7 @@ pmap_new_proc(p) } } - PAGE_WAKEUP(m); + vm_page_wakeup(m); m->flags &= ~PG_ZERO; m->flags |= PG_MAPPED | PG_WRITEABLE; m->valid = VM_PAGE_BITS_ALL; @@ -1109,7 +1109,7 @@ pmap_swapin_proc(p) } vm_page_wire(m); - PAGE_WAKEUP(m); + vm_page_wakeup(m); m->flags |= PG_MAPPED | PG_WRITEABLE; } } @@ -2452,7 +2452,7 @@ pmap_object_init_pt(pmap, addr, object, pindex, size, limit) } p = vm_page_lookup(object, pindex); - PAGE_WAKEUP(p); + vm_page_wakeup(p); } ptepa = (vm_offset_t) VM_PAGE_TO_PHYS(p); @@ -2516,7 +2516,7 @@ pmap_object_init_pt(pmap, addr, object, pindex, size, limit) addr + i386_ptob(tmpidx), VM_PAGE_TO_PHYS(p), mpte); p->flags |= PG_MAPPED; - PAGE_WAKEUP(p); + vm_page_wakeup(p); } objpgs -= 1; } @@ -2537,7 +2537,7 @@ pmap_object_init_pt(pmap, addr, object, pindex, size, limit) addr + i386_ptob(tmpidx), VM_PAGE_TO_PHYS(p), mpte); p->flags |= PG_MAPPED; - PAGE_WAKEUP(p); + vm_page_wakeup(p); } } } @@ -2633,7 +2633,7 @@ pmap_prefault(pmap, addra, entry) mpte = pmap_enter_quick(pmap, addr, VM_PAGE_TO_PHYS(m), mpte); m->flags |= PG_MAPPED; - PAGE_WAKEUP(m); + vm_page_wakeup(m); } } } diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 9e3551b85fc9..76f5bcf9c5e0 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * from: @(#)pmap.c 7.7 (Berkeley) 5/12/91 - * $Id: pmap.c,v 1.206 1998/08/16 00:41:40 bde Exp $ + * $Id: pmap.c,v 1.207 1998/08/23 10:16:25 bde Exp $ */ /* @@ -1010,7 +1010,7 @@ pmap_new_proc(p) } } - PAGE_WAKEUP(m); + vm_page_wakeup(m); m->flags &= ~PG_ZERO; m->flags |= PG_MAPPED | PG_WRITEABLE; m->valid = VM_PAGE_BITS_ALL; @@ -1109,7 +1109,7 @@ pmap_swapin_proc(p) } vm_page_wire(m); - PAGE_WAKEUP(m); + vm_page_wakeup(m); m->flags |= PG_MAPPED | PG_WRITEABLE; } } @@ -2452,7 +2452,7 @@ pmap_object_init_pt(pmap, addr, object, pindex, size, limit) } p = vm_page_lookup(object, pindex); - PAGE_WAKEUP(p); + vm_page_wakeup(p); } ptepa = (vm_offset_t) VM_PAGE_TO_PHYS(p); @@ -2516,7 +2516,7 @@ pmap_object_init_pt(pmap, addr, object, pindex, size, limit) addr + i386_ptob(tmpidx), VM_PAGE_TO_PHYS(p), mpte); p->flags |= PG_MAPPED; - PAGE_WAKEUP(p); + vm_page_wakeup(p); } objpgs -= 1; } @@ -2537,7 +2537,7 @@ pmap_object_init_pt(pmap, addr, object, pindex, size, limit) addr + i386_ptob(tmpidx), VM_PAGE_TO_PHYS(p), mpte); p->flags |= PG_MAPPED; - PAGE_WAKEUP(p); + vm_page_wakeup(p); } } } @@ -2633,7 +2633,7 @@ pmap_prefault(pmap, addra, entry) mpte = pmap_enter_quick(pmap, addr, VM_PAGE_TO_PHYS(m), mpte); m->flags |= PG_MAPPED; - PAGE_WAKEUP(m); + vm_page_wakeup(m); } } }