* During early kernel startup, we must not create areas without the

CREATE_AREA_DONT_WAIT flag; waiting at this point is not allowed.
* I hope I found all occurences, but there might be some areas left (note,
  only those that don't use B_ALREADY_WIRED are problematic).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36624 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2010-05-05 13:12:07 +00:00
parent 8c8fcd770a
commit 7198f76564
8 changed files with 32 additions and 25 deletions
+2 -2
View File
@@ -369,10 +369,10 @@ TracingMetaData::Create(TracingMetaData*& _metaData)
if (error != B_OK)
return error;
area = create_area("tracing log",
area = create_area_etc(B_SYSTEM_TEAM, "tracing log",
(void**)&metaData->fTraceOutputBuffer, B_ANY_KERNEL_ADDRESS,
kTraceOutputBufferSize + MAX_TRACE_SIZE, B_CONTIGUOUS,
B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA);
B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA, 0, CREATE_AREA_DONT_WAIT);
if (area < 0)
return area;