lkml.org 
[lkml]   [2004]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U2
    On Thu, 14 Oct 2004, Adam Heath wrote:

    > On Fri, 15 Oct 2004, Ingo Molnar wrote:
    >
    > >
    > > i have released the -U2 PREEMPT_REALTIME patch:
    > >
    > > http://redhat.com/~mingo/voluntary-preempt/voluntary-preempt-2.6.9-rc4-mm1-U2
    >
    > kernel/latency.c: In function `add_preempt_count':
    > kernel/latency.c:390: error: structure has no member named `preempt_trace_eip'
    > kernel/latency.c:394: error: structure has no member named `preempt_trace_parent_eip'

    Here's a patch:

    --- kernel/latency.c.orig 2004-10-14 19:36:26.000000000 -0500
    +++ kernel/latency.c 2004-10-14 19:33:30.000000000 -0500
    @@ -387,11 +387,9 @@
    if (val <= 10) {
    unsigned int idx = preempt_count() & PREEMPT_MASK;
    if (idx < MAX_PREEMPT_TRACE) {
    - current->preempt_trace_eip[idx] = eip;
    #ifdef CONFIG_LATENCY_TRACE
    + current->preempt_trace_eip[idx] = eip;
    current->preempt_trace_parent_eip[idx] = parent_eip;
    -#else
    - current->preempt_trace_parent_eip[idx] = 0;
    #endif
    }
    }
    --
    -
    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-03-22 14:07    [W:3.751 / U:0.016 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site