diff options
author | dfr <dfr@FreeBSD.org> | 1998-09-04 08:06:57 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-09-04 08:06:57 +0000 |
commit | e2df972eb1b251e9321868d79ea5c26d4b32b6e4 (patch) | |
tree | 011702a89ef99411c684cf6ed0c61fefe352afa6 /sys/kern/kern_exec.c | |
parent | 4b6b0ee13a6e4197844609d59260d369def5c4a2 (diff) | |
download | FreeBSD-src-e2df972eb1b251e9321868d79ea5c26d4b32b6e4.zip FreeBSD-src-e2df972eb1b251e9321868d79ea5c26d4b32b6e4.tar.gz |
Cosmetic changes to the PAGE_XXX macros to make them consistent with
the other objects in vm.
Diffstat (limited to 'sys/kern/kern_exec.c')
-rw-r--r-- | sys/kern/kern_exec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index c77fe20..a788629 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_exec.c,v 1.84 1998/07/15 06:19:33 bde Exp $ + * $Id: kern_exec.c,v 1.85 1998/08/24 08:39:38 dfr Exp $ */ #include <sys/param.h> @@ -370,7 +370,7 @@ exec_map_first_page(imgp) break; if (ma[i]->valid) break; - PAGE_SET_FLAG(ma[i], PG_BUSY); + vm_page_busy(ma[i]); } else { ma[i] = vm_page_alloc(object, i, VM_ALLOC_NORMAL); if (ma[i] == NULL) @@ -393,7 +393,7 @@ exec_map_first_page(imgp) } vm_page_wire(ma[0]); - PAGE_WAKEUP(ma[0]); + vm_page_wakeup(ma[0]); splx(s); pmap_kenter((vm_offset_t) imgp->image_header, VM_PAGE_TO_PHYS(ma[0])); |