Hi, Here is a patch to fix Compliation error while compling the kernel with the Realtime Preemption patch for arm with the latency tracer turned on. The Errormessage (compiled with gcc4.2.0) is also attached to this mail. The patch attachs __sched to the function calls compat_sem_is_locked() and __compat_down_trylock() for arm. So that the calls will be put in the section .sched.text, as declared later in the asm code. Regards Luotao Fu -- Dipl.-Ing. Luotao Fu | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hannoversche Str. 2, 31134 Hildesheim, Germany Phone: +49-5121-206917-0 | Fax: +49-5121-206917-9