* Build fix: the AGP-GART bus manager also used vm_page_allocate_page_run().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26460 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -534,7 +534,7 @@ Aperture::AllocateMemory(aperture_memory *memory, uint32 flags)
|
|||||||
uint32 count = size / B_PAGE_SIZE;
|
uint32 count = size / B_PAGE_SIZE;
|
||||||
|
|
||||||
if ((flags & B_APERTURE_NEED_PHYSICAL) != 0) {
|
if ((flags & B_APERTURE_NEED_PHYSICAL) != 0) {
|
||||||
memory->page = vm_page_allocate_page_run(PAGE_STATE_CLEAR, count);
|
memory->page = vm_page_allocate_page_run(PAGE_STATE_CLEAR, 0, count);
|
||||||
if (memory->page == NULL)
|
if (memory->page == NULL)
|
||||||
return B_NO_MEMORY;
|
return B_NO_MEMORY;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user