vm_translation_map_quick_map() was slightly changed.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5202 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2003-10-28 21:17:19 +00:00
parent 9e54ef1458
commit d70e4e5163

View File

@ -452,8 +452,9 @@ vm_translation_map_module_init2(kernel_args *ka)
* read/write.
*/
int
vm_translation_map_quick_map(kernel_args *ka, addr_t virtualAddress, addr_t physicalAddress, uint8 attributes, addr_t (*get_free_page)(kernel_args *))
status_t
vm_translation_map_quick_map(kernel_args *ka, addr_t virtualAddress, addr_t physicalAddress,
uint8 attributes, addr_t (*get_free_page)(kernel_args *))
{
uint32 virtualSegmentID = get_sr((void *)virtualAddress) & 0xffffff;