Messages in this thread Patch in this message | | | Date | Wed, 01 Dec 2004 10:30:26 +0200 | From | (Eran Mann) | Subject | Re: Real-Time Preemption, -RT-2.6.10-rc2-mm3-V0.7.31-7 |
| |
Ingo Molnar wrote: > > > fixed this in -V0.7.31-14. > > Ingo > This mail arrived via mail.mrv.com > >
Compiling -V0.7.31-15 without CONFIG_LATENCY_TRACE results in: ... CC kernel/latency.o kernel/latency.c: In function `check_critical_timing': kernel/latency.c:765: warning: implicit declaration of function `__trace' ... LD .tmp_vmlinux1 kernel/built-in.o(.text+0x1e407): In function `check_critical_timing': : undefined reference to `__trace' make: *** [.tmp_vmlinux1] Error 1
Seems to be fixed by the patch below:
--- kernel/latency.c.orig 2004-12-01 10:21:45.000000000 +0200 +++ kernel/latency.c 2004-12-01 10:11:37.000000000 +0200 @@ -762,7 +762,9 @@ tr->critical_sequence = max_sequence; tr->preempt_timestamp = cycles(); tr->early_warning = 0; +#ifdef CONFIG_LATENCY_TRACE __trace(CALLER_ADDR0, parent_eip); +#endif }
void notrace touch_critical_timing(void) -- Eran Mann - 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/
| |