Patch by Andreas Faerber (small changes by myself):
* Fix compilation with tracing enabled. Thanks! Fixes ticket #5183. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34862 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1088,8 +1088,9 @@ vm_map_physical_memory_vecs(team_id team, const char* name, void** _address,
|
|||||||
uint32 vecCount)
|
uint32 vecCount)
|
||||||
{
|
{
|
||||||
TRACE(("vm_map_physical_memory_vecs(team = %ld, \"%s\", virtual = %p, "
|
TRACE(("vm_map_physical_memory_vecs(team = %ld, \"%s\", virtual = %p, "
|
||||||
"spec = %ld, size = %lu, protection = %ld, phys = %#lx)\n", team,
|
"spec = %ld, _size = %p, protection = %ld, vecs = %p, "
|
||||||
name, _address, addressSpec, size, protection, physicalAddress));
|
"vecCount = %ld)\n", team, name, _address, addressSpec, _size,
|
||||||
|
protection, vecs, vecCount));
|
||||||
|
|
||||||
if (!arch_vm_supports_protection(protection)
|
if (!arch_vm_supports_protection(protection)
|
||||||
|| (addressSpec & B_MTR_MASK) != 0) {
|
|| (addressSpec & B_MTR_MASK) != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user