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

> 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
> }
> }
> --

How do you set that config option? I only see it in .c and .h files.
-
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:0.419 / U:3.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site