Re: Compile bug in 2.6.24.8-rt7 on ARM
From: Steven Rostedt
Date: Tue May 20 2008 - 16:55:33 EST
On Tue, 20 May 2008, Remy Bohmer wrote:
> Hello Steven,
>
> Now I started looking at compiling 2.6.24.7-rt8 for ARM, and I found
> another compile problem... ;-))
>
> This one:
> CC arch/arm/kernel/process.o
> arch/arm/kernel/process.c: In function 'cpu_idle':
> arch/arm/kernel/process.c:175: error: implicit declaration of function
> 'trace_preempt_exit_idle'
> arch/arm/kernel/process.c:180: error: implicit declaration of function
> 'trace_preempt_enter_idle'
>
> These function do not appear to exist _anywhere_ in the kernel.
> So these calls can safely be removed, I guess.
>
> The offending patch can be found in the broken-out set under the name
> arm-trace-preempt-idle.patch.
> Attached you can find a fix for it (I expect that you will not need it)
Thanks Remy,
Yes that was left over from the latency_trace conversion to ftrace. Note,
I have yet (nor anyone else) ported the new ftrace to arm. That is going
to be needed soon.
If you want to do it (hint hint) don't waste your time on the -rt ftrace.
That will soon be revamped to get back in line with upstream ftrace, which
can be found here:
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git
Look for the ftrace branch. Any work on ftrace should be done against
that. I will be working on getting -rt up to that version, but first I'll
need to send over a few fixes to ftrace there too.
Thanks,
-- Steve
--
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/