ARM: only warn if unknown memory types are being mapped.

This is a workaround for missing writecombine & friends support. Needs
proper fixing, but too many other things to do atm to focus on that...
This commit is contained in:
Ithamar R. Adema
2012-11-05 01:45:25 +01:00
parent 4fc1dadd58
commit de4f3cf3a7
+3 -3
View File
@@ -97,8 +97,8 @@ arch_vm_unset_memory_type(VMArea *area)
status_t
arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type)
{
if (type == 0)
return B_OK;
if (type != 0)
dprintf("%s: undefined type %lx!\n", __PRETTY_FUNCTION__, type);
return B_ERROR;
return B_OK;
}