summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2008-07-07 17:31:02 +0000
committeralc <alc@FreeBSD.org>2008-07-07 17:31:02 +0000
commit489d9dac95998c0f638072ca1c2eba28ce34e58e (patch)
treee0efd4f88f3c1b4bd9533f775c7ad939a5263141
parent64ef3ee8e527af1694fe820abd5d20661c4e692c (diff)
downloadFreeBSD-src-489d9dac95998c0f638072ca1c2eba28ce34e58e.zip
FreeBSD-src-489d9dac95998c0f638072ca1c2eba28ce34e58e.tar.gz
In FreeBSD 7.0 and beyond, pmap_growkernel() should pass VM_ALLOC_INTERRUPT
to vm_page_alloc() instead of VM_ALLOC_SYSTEM.
-rw-r--r--sys/mips/mips/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/mips/pmap.c b/sys/mips/mips/pmap.c
index 2fe2559..9788b18 100644
--- a/sys/mips/mips/pmap.c
+++ b/sys/mips/mips/pmap.c
@@ -1239,7 +1239,7 @@ pmap_growkernel(vm_offset_t addr)
/*
* This index is bogus, but out of the way
*/
- req = VM_ALLOC_SYSTEM | VM_ALLOC_WIRED | VM_ALLOC_NOOBJ;
+ req = VM_ALLOC_INTERRUPT | VM_ALLOC_WIRED | VM_ALLOC_NOOBJ;
#ifdef VM_ALLOC_WIRED_TLB_PG_POOL
if (need_wired_tlb_page_pool)
req |= VM_ALLOC_WIRED_TLB_PG_POOL;
OpenPOWER on IntegriCloud