Re: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U2

From: Adam Heath
Date: Thu Oct 14 2004 - 19:54:59 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/