get rid of a few ref's to buffer_map
This commit is contained in:
parent
d9ead6b6f5
commit
e98e3183fc
@ -277,10 +277,10 @@ vm_map_entry_t vm_map_entry_create(map)
|
||||
vm_map_t map;
|
||||
{
|
||||
vm_map_entry_t entry;
|
||||
extern vm_map_t kernel_map, kmem_map, mb_map, buffer_map, pager_map;
|
||||
extern vm_map_t kernel_map, kmem_map, mb_map, pager_map;
|
||||
|
||||
if (map == kernel_map || map == kmem_map || map == mb_map
|
||||
|| map == buffer_map || map == pager_map) {
|
||||
|| map == pager_map) {
|
||||
if (entry = kentry_free)
|
||||
kentry_free = kentry_free->next;
|
||||
} else
|
||||
@ -302,10 +302,10 @@ vm_map_entry_dispose(map, entry)
|
||||
vm_map_t map;
|
||||
vm_map_entry_t entry;
|
||||
{
|
||||
extern vm_map_t kernel_map, kmem_map, mb_map, buffer_map, pager_map;
|
||||
extern vm_map_t kernel_map, kmem_map, mb_map, pager_map;
|
||||
|
||||
if (map == kernel_map || map == kmem_map || map == mb_map
|
||||
|| map == buffer_map || map == pager_map) {
|
||||
|| map == pager_map) {
|
||||
entry->next = kentry_free;
|
||||
kentry_free = entry;
|
||||
} else
|
||||
|
Loading…
Reference in New Issue
Block a user