cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jpl@xiphos.ca
Adventurer
Adventurer
3,096 Views
Registered: ‎10-28-2007

fastcopy.S and EXPORT_SYMBOL(memcpy)

Jump to solution

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

0 Kudos
1 Solution

Accepted Solutions
jpl@xiphos.ca
Adventurer
Adventurer
3,631 Views
Registered: ‎10-28-2007

Found a patch that works.  It was submitted last week.

 

http://www.gossamer-threads.com/lists/linux/kernel/1219385

 

Joshua

View solution in original post

0 Kudos
1 Reply
jpl@xiphos.ca
Adventurer
Adventurer
3,632 Views
Registered: ‎10-28-2007

Found a patch that works.  It was submitted last week.

 

http://www.gossamer-threads.com/lists/linux/kernel/1219385

 

Joshua

View solution in original post

0 Kudos