summaryrefslogtreecommitdiffstats
path: root/sys/ia64/ia64/pmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/ia64/ia64/pmap.c')
-rw-r--r--sys/ia64/ia64/pmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ia64/ia64/pmap.c b/sys/ia64/ia64/pmap.c
index 13a42b6..cc522ba4 100644
--- a/sys/ia64/ia64/pmap.c
+++ b/sys/ia64/ia64/pmap.c
@@ -756,7 +756,7 @@ pmap_new_thread(struct thread *td, int pages)
* 7 address for it which makes it impossible to accidentally
* lose when recording a trapframe.
*/
- ks = contigmalloc(pages * PAGE_SIZE, M_PMAP, M_WAITOK, 0ul,
+ ks = contigmalloc(pages * PAGE_SIZE, M_PMAP, 0, 0ul,
256*1024*1024 - 1, PAGE_SIZE, 256*1024*1024);
if (ks == NULL)
panic("pmap_new_thread: could not contigmalloc %d pages\n",
@@ -1215,7 +1215,7 @@ pmap_find_pte(vm_offset_t va)
pte = pmap_find_vhpt(va);
if (!pte) {
- pte = uma_zalloc(ptezone, M_WAITOK);
+ pte = uma_zalloc(ptezone, 0);
pte->pte_p = 0;
}
return pte;
OpenPOWER on IntegriCloud