diff options
-rw-r--r-- | i386/intel/pmap.c | 2 | ||||
-rw-r--r-- | linux/dev/glue/block.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index 3c2493b..237d8d0 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -915,7 +915,7 @@ pmap_page_table_page_alloc() /* * Allocate a VM page for the level 2 page table entries. */ - while ((m = vm_page_grab()) == VM_PAGE_NULL) + while ((m = vm_page_grab(FALSE)) == VM_PAGE_NULL) VM_PAGE_WAIT((void (*)()) 0); /* diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c index 7900e72..c450ea4 100644 --- a/linux/dev/glue/block.c +++ b/linux/dev/glue/block.c @@ -308,7 +308,7 @@ alloc_buffer (int size) if (! linux_auto_config) { - while ((m = vm_page_grab ()) == 0) + while ((m = vm_page_grab (FALSE)) == 0) VM_PAGE_WAIT (0); d = current_thread ()->pcb->data; assert (d); @@ -1492,7 +1492,7 @@ device_read (void *d, ipc_port_t reply_port, /* Allocate and map pages. */ while (alloc_offset < trunc_page (offset) + len) { - while ((m = vm_page_grab ()) == 0) + while ((m = vm_page_grab (FALSE)) == 0) VM_PAGE_WAIT (0); assert (! m->active && ! m->inactive); m->busy = TRUE; |