[PATCH] unexported flush_tlb in 2.6 ppc64 kernel
Anil Kumar Prasad
anil_411 at yahoo.com
Tue Sep 21 15:52:09 EST 2004
> > I was trying to get my 2.4 module code working on
> 2.6
> > ppc64 (2.6.5-7.97 SLES9). It seems tlb_flush
> routines
> > are no longer exported for module usage. Same is
> the
> > case with 2.6.8
> > ppc64 kernel.
> >
> > I could see tlb_flush routines still exported on
> all
> > other platforms. Is there any reason for
> un-exporting
> > it on ppc64?
>
> I cant think of a reason, but the code is new so we
> probably havent seen
> this issue yet.
>
> Could you send me a patch which adds the exports? On
> 2.6 you can put the
> EXPORT_SYMBOL right next to where the thing is
> defined.
Attached is the patch.
I had to #define tlb_flush_pending to
__tlb_flush_pending and merge tlb_flush_pending few
lines body with __tlb_flush_pending. As exporting per
cpu tlb_batch data didn't make sense to me.
Thanks,
Anil.
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tlb_export.patch
Type: application/octet-stream
Size: 1917 bytes
Desc: tlb_export.patch
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20040920/b30c583f/attachment.obj
More information about the Linuxppc64-dev
mailing list