Added a dummy implementation of call_all_cpus() that will at least work on
single CPU machines. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7122 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8fa03f6c41
commit
2b75cca8d2
@ -602,3 +602,16 @@ smp_disable_ici()
|
|||||||
ici_enabled = false;
|
ici_enabled = false;
|
||||||
return B_NO_ERROR;
|
return B_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// #pragma mark -
|
||||||
|
// public exported functions
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
call_all_cpus(void (*f)(void *, int), void *cookie)
|
||||||
|
{
|
||||||
|
// ToDo: this is a dummy, but at least it works for single CPU machines
|
||||||
|
f(cookie, smp_get_current_cpu());
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user