Compile bug in 2.6.24.8-rt7 on ARM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
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@xxxxxxxxxx>
---
 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();
 	}
 }

[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux