Gilles Chanteperdrix wrote:
> Wolfgang Grandegger wrote:
>  > Hello,
>  > 
>  > the attached patch fixes the following compilation error with Xenomai's 
>  > head of trunk under Linux 2.4:
>  > 
>  > kernel/kernel.o(.text+0x135a4): In function 
> `__rthal_generic_full_divmod64':
>  > 
> /temp/rtcan/devel/linuxppc_2_4_devel-xenomai/kernel/xenomai/arch/generic/hal.c:918:
>  
>  > undefined reference to `fls'
>  > 
> kernel/kernel.o(.text+0x135b4):/temp/rtcan/devel/linuxppc_2_4_devel-xenomai/kernel/xenomai/arch/generic/hal.c:918:
>  
>  > undefined reference to `fls'
> 
> Should not this implementation go to asm-powerpc/wrappers.h instead of
> asm-generic/wrappers.h ?

Ah, yes, of course, because it uses PowerPC assembler. But it might be 
missing for other archs as well, e.g. I did not find it for i386 in the 
DENX Linux 2.4.25 tree.

Wolfgang.


_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to