diff options
author | Thomas Schwinge <tschwinge@gnu.org> | 2007-03-01 09:46:46 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:05 +0200 |
commit | 4faaa2fed9a8c8f0863872d018407fa9b6c86271 (patch) | |
tree | e5cc593a37b0d8de2319746174e65fc718029e74 /linux | |
parent | b72125f4fa34b6144e745587cf0b30a6580ee745 (diff) |
2007-03-01 Thomas Schwinge <tschwinge@gnu.org>
* linux/dev/glue/block.c (free_buffer): Use `VM_PAGE_FREE'.
* vm/vm_object.c (vm_object_collapse, vm_object_page_remove)
(vm_object_page_map): Likewise.
Diffstat (limited to 'linux')
-rw-r--r-- | linux/dev/glue/block.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/dev/glue/block.c b/linux/dev/glue/block.c index cf2a53c..48dba7d 100644 --- a/linux/dev/glue/block.c +++ b/linux/dev/glue/block.c @@ -337,9 +337,7 @@ free_buffer (void *p, int size) if (m->phys_addr == (vm_offset_t) p) { queue_remove (&d->pages, m, vm_page_t, pageq); - vm_page_lock_queues (); - vm_page_free (m); - vm_page_unlock_queues (); + VM_PAGE_FREE (m); return; } } |