* Compile bug in 2.6.24.8-rt7 on ARM
@ 2008-05-20 20:37 Remy Bohmer
2008-05-20 20:55 ` Steven Rostedt
0 siblings, 1 reply; 2+ messages in thread
From: Remy Bohmer @ 2008-05-20 20:37 UTC (permalink / raw)
To: Steven Rostedt; +Cc: LKML, RT
[-- Attachment #1: Type: text/plain, Size: 715 bytes --]
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)
Kind Regards,
Remy
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix-compile-error-trace-preempt.patch --]
[-- Type: text/x-patch; name=fix-compile-error-trace-preempt.patch, Size: 1038 bytes --]
This patch fixes this compile error in 2.6.24.7-rt8:
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'
Signed-off-by: Remy Bohmer <linux@bohmer.net>
---
arch/arm/kernel/process.c | 2 --
1 file changed, 2 deletions(-)
Index: linux-2.6.24/arch/arm/kernel/process.c
===================================================================
--- linux-2.6.24.orig/arch/arm/kernel/process.c 2008-05-20 22:06:33.000000000 +0200
+++ linux-2.6.24/arch/arm/kernel/process.c 2008-05-20 22:30:37.000000000 +0200
@@ -172,12 +172,10 @@ void cpu_idle(void)
idle();
leds_event(led_idle_end);
local_irq_disable();
- trace_preempt_exit_idle();
tick_nohz_restart_sched_tick();
__preempt_enable_no_resched();
__schedule();
preempt_disable();
- trace_preempt_enter_idle();
local_irq_enable();
}
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compile bug in 2.6.24.8-rt7 on ARM
2008-05-20 20:37 Compile bug in 2.6.24.8-rt7 on ARM Remy Bohmer
@ 2008-05-20 20:55 ` Steven Rostedt
0 siblings, 0 replies; 2+ messages in thread
From: Steven Rostedt @ 2008-05-20 20:55 UTC (permalink / raw)
To: Remy Bohmer; +Cc: LKML, RT
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-20 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-20 20:37 Compile bug in 2.6.24.8-rt7 on ARM Remy Bohmer
2008-05-20 20:55 ` Steven Rostedt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®