Re: [patch] Real-Time Preemption, -RT-2.6.12-rc4-V0.7.47-06

Ingo Molnar
2005-05-30T14:42:31Z

* Michal Schmidt <xschmi00@stud.feec.vutbr.cz> wrote:

> Thanks for the explanation. In that case calling init_MUTEX_LOCKED on
> an RT semaphore is obviously wrong. However, it only produces a
> warning during the compilation and is guaranteed to BUG when run. It
> would be better if it obviously failed to compile. How about the
> attached patch? That makes the compilation fail like this:

agreed - i've added your patch to my tree.

Ingo