diff options
author | alc <alc@FreeBSD.org> | 2004-07-22 23:04:41 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-07-22 23:04:41 +0000 |
commit | f3c3c8c6c51a836f82aa9a8111b29eaeac7c3645 (patch) | |
tree | 7c0b6346aa919105949b24e5167c4d10ce75272f | |
parent | e65c9cc58201ade72c6b382998882045c6dc4eb9 (diff) | |
download | FreeBSD-src-f3c3c8c6c51a836f82aa9a8111b29eaeac7c3645.zip FreeBSD-src-f3c3c8c6c51a836f82aa9a8111b29eaeac7c3645.tar.gz |
MFi386 revision 1.421
- Use kmem_alloc_nofault() rather than kmem_alloc_pageable() in
pmap_mapdev(). See revision 1.140 of kern/sys_pipe.c for a detailed
rationale.
-rw-r--r-- | sys/arm/arm/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm/arm/pmap.c b/sys/arm/arm/pmap.c index 845e1cf..8a03f76 100644 --- a/sys/arm/arm/pmap.c +++ b/sys/arm/arm/pmap.c @@ -4372,7 +4372,7 @@ pmap_mapdev(vm_offset_t pa, vm_size_t size) GIANT_REQUIRED; - va = kmem_alloc_pageable(kernel_map, size); + va = kmem_alloc_nofault(kernel_map, size); if (!va) panic("pmap_mapdev: Couldn't alloc kernel virtual memory"); |