lkml.org 
[lkml]   [2005]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] Real-Time Preemption, -RT-2.6.12-rc4-V0.7.47-06

    * Ingo Molnar <mingo@elte.hu> wrote:

    >
    > * 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.

    with a small modification: i turned the error into a link-time error,
    because gcc parses both branches and will give a compiler-time warning
    even if the proper compat_semaphore is used.

    Ingo
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-05-30 16:57    [W:0.022 / U:0.984 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site