cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Adventurer
Adventurer
2,960 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
Reply
1 Solution

Accepted Solutions
Highlighted
Adventurer
Adventurer
3,495 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
Reply
1 Reply
Highlighted
Adventurer
Adventurer
3,496 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
Reply