Bug in ipipe patch?
I don't know if this has already been reported, but I think there is a bug in file:
adeos-ipipe-2.6.24-powerpc-DENX-2.1-01.patch
specifically for the file ipipe.c.
The macro "EXPORT_SYMBOL_GPL(tasklist_lock)" appears in two places; once outside of any ifdef, and once inside the "#else /* !CONFIG_PPC64 */" ifdef.
Consequently, when building for a 32-bit processor, I get a "redefined" error:
/home/sfalco/linux/embedded/ppc3/linux/linux-2.6-denx/arch/powerpc/kernel/ipipe.c:747:
error: redefinition of '__kstrtab_tasklist_lock' /home/sfalco/linux/embedded/ppc3/linux/linux-2.6-denx/arch/powerpc/kernel/ipipe.c:724:
error: previous definition of '__kstrtab_tasklist_lock' was here
Steve
Quoted 11 lines · Steven A. Falco
I don't know if this has already been reported, but I think there is a bug in file:
adeos-ipipe-2.6.24-powerpc-DENX-2.1-01.patchspecifically for the file
ipipe.c.The macro "
EXPORT_SYMBOL_GPL(tasklist_lock)" appears in two places; once outside of any ifdef, and once inside the "#else /* !CONFIG_PPC64 */" ifdef.
Quoted 8 lines
Consequently, when building for a 32-bit processor, I get a "redefined" error:
/home/sfalco/linux/embedded/ppc3/linux/linux-2.6-denx/arch/powerpc/kernel/ipipe.c:747:
error: redefinition of '__kstrtab_tasklist_lock'/home/sfalco/linux/embedded/ppc3/linux/linux-2.6-denx/arch/powerpc/kernel/ipipe.c:724:
error: previous definition of '__kstrtab_tasklist_lock' was here
Fixed in my tree, thanks.
Quoted 8 lines
Steve
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core
Signature · 1 line
Philippe.