summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e7e3f26)
The mismatch prevented build of IPCI165 card support for fully preemptive kernel.
in the down operation below until the thread has reached
the up() operation.
*/
in the down operation below until the thread has reached
the up() operation.
*/
- init_MUTEX_LOCKED(&kthread->startstop_sem);
+ sema_init(&kthread->startstop_sem, 0);
/* store the function to be executed in the data passed to
the launcher */
/* store the function to be executed in the data passed to
the launcher */
will unlock it. As soon as we see the semaphore
unlocked, we know that the thread has exited.
*/
will unlock it. As soon as we see the semaphore
unlocked, we know that the thread has exited.
*/
- init_MUTEX_LOCKED(&kthread->startstop_sem);
+ sema_init(&kthread->startstop_sem,0);
/* We need to do a memory barrier here to be sure that
the flags are visible on all CPUs.
/* We need to do a memory barrier here to be sure that
the flags are visible on all CPUs.