Re: idea on how to break the static dependencies on demodulator modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 16 May 2006, Andrew de Quincey wrote:
> As for symbol_put_addr - well we've had absolutely zero response to the
> patches - both you and Trent have tried to get someone to look at 'em on
> LKML, and there's been complete silence... did we have a compat.h patch so
> that we can experiment using symbol_put_addr() in the meantime? If one of you
> wants to send it, I'll update the repos to use it and remove the chaining so
> we can see what that looks like.

My fix for symbol_put_addr() is now in the mainline git, thanks to Johannes'
persistence.  As for a compat.h fix, I do not think it can be done.  In order to
do the address -> module lookup you need at the minimum to use either
module_text_addr() or to walk the list of modules.  module_text_addr() is not
exported, so you can't call it from a module.  The module list is static to
kernel/module.c, so you can't get to it either.

If symbol_put_addr() is used, I think the only solution for older kernels will
be to disable dynamic dependencies.

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux