Fixed PPC build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36580 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2010-05-02 12:53:47 +00:00
parent 5352c349a0
commit e33adea4dc

View File

@ -868,7 +868,7 @@ ppc_map_address_range(addr_t virtualAddress, addr_t physicalAddress,
for (; virtualAddress < virtualEnd; for (; virtualAddress < virtualEnd;
virtualAddress += B_PAGE_SIZE, physicalAddress += B_PAGE_SIZE) { virtualAddress += B_PAGE_SIZE, physicalAddress += B_PAGE_SIZE) {
status_t error = map->Map(virtualAddress, physicalAddress, status_t error = map->Map(virtualAddress, physicalAddress,
B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA, &reservation); B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA, 0, &reservation);
if (error != B_OK) if (error != B_OK)
return error; return error;
} }