Fixed broken assert.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28257 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-10-21 10:13:07 +00:00
parent 7cbd3ce5d8
commit aa12f6f8fc

View File

@ -163,7 +163,7 @@ transfer_PIO_physcont(ide_device_info *device, addr_t physicalAddress,
return B_ERROR;
}
ASSERT((physicalAddress & 4097) == (virtualAddress & 4097));
ASSERT(physicalAddress % B_PAGE_SIZE == virtualAddress % B_PAGE_SIZE);
// if chunks starts in the middle of a page, we have even less then
// a page left