05-03-2010 02:22 PM
The assembler optimized string functions in arch/microblaze/lib/fastcopy.S appear to work very well when drivers are compiled into the kernel. However, kernel modules are not able to resolve the memcpy symbol, unless fastcopy.S is compiled and linked into the .ko file before it is inserted into the kernel.
I thought that the .globl entry in the .S file was enough to make the functions exported, but it doesn't appear to be working. I'm really not good with GNU assembler, but is there another way to make memcpy show up for use by kernel modules?
Thanks in advance.
Joshua
05-03-2010 02:59 PM
Found a patch that works. It was submitted last week.
http://www.gossamer-threads.com/lists/linux/kernel/1219385
Joshua
05-03-2010 02:59 PM
Found a patch that works. It was submitted last week.
http://www.gossamer-threads.com/lists/linux/kernel/1219385
Joshua