diff options
| author | Alan Cox <alc@FreeBSD.org> | 2011-10-27 16:39:17 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2011-10-27 16:39:17 +0000 |
| commit | 703dec68bfc40849f59f30d90a6ee4a081fe910b (patch) | |
| tree | df4b3a31e6e696440d5b0fb21f80d8a64699e648 /sys/dev/xen/balloon | |
| parent | 982369192e473cd51a19d7e01826074bc665e8af (diff) | |
Notes
Diffstat (limited to 'sys/dev/xen/balloon')
| -rw-r--r-- | sys/dev/xen/balloon/balloon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/xen/balloon/balloon.c b/sys/dev/xen/balloon/balloon.c index 81d1094e180c..ca941b619734 100644 --- a/sys/dev/xen/balloon/balloon.c +++ b/sys/dev/xen/balloon/balloon.c @@ -298,8 +298,7 @@ decrease_reservation(unsigned long nr_pages) nr_pages = ARRAY_SIZE(frame_list); for (i = 0; i < nr_pages; i++) { - int color = 0; - if ((page = vm_page_alloc(NULL, color++, + if ((page = vm_page_alloc(NULL, 0, VM_ALLOC_NORMAL | VM_ALLOC_NOOBJ | VM_ALLOC_WIRED | VM_ALLOC_ZERO)) == NULL) { nr_pages = i; |
