On Tue, 15 Feb 2005, Stefano Gafforelli wrote: > Hi, > while we are trying to load rtai_lxrt module we obtain this message: (after > loading adeos.ko and rtai_hal.ko) > > Adeos: Domain RTAI registered. > RTAI[hal]: magma mounted over Adeos 2.6arm-PXA255. > RTAI[hal]: compiled with gcc version 3.3.2. > RTAI[hal]: mounted (IMMEDIATE). > rtai_lxrt: Unknown symbol cpu_xscale_switch_mm > insmod: error inserting '/root/modadeos/modules/rtai_lxrt.ko': -1 Unknown > symbol > > what about? > We don't know where the function cpu_xscale_switch_mm is called.
Well, it looks like one of those preprocessor "##" tricks. I think, in the kernel there are some macros cpu_##CPU##_switch_mm defined. Right, look in include/asm-arm/cpu-single.h HTH Guennasi --------------------------------- Guennadi Liakhovetski, Ph.D. DSA Daten- und Systemtechnik GmbH Pascalstr. 28 D-52076 Aachen Germany
