On Wednesday 25 October 2006 17:26, Jeff Dike wrote:
> On Mon, Oct 23, 2006 at 10:04:00AM +0800, Ian Jiang wrote:
> > In fact, I used to export the symbol to_virt in um/kernel/physmem.c
> > where it was defined.
>
> There is no to_virt defined in physmem.c in my tree now.
>
> > But this had no effect. What is the difference
> > between the ksyms.c and physmem.c while exporting symbols? Could you
> > give an explanation?
>
> There shouldn't be any difference.  physmem.c already exports some stuff,
> so there's no reason it can export more.
On 2.4 kernels (and no Jeff, your tree is not a 2.4) EXPORT_SYMBOLS only works 
on some special files (like ksyms.c) devoted to this (they're marked in 
Makefile's); on 2.6 you can add the export everywhere and it will work.

-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to