exporting symbols in kernel only when a module is compiled?

From: Shaya Potter (spotter@cs.columbia.edu)
Date: Wed Aug 28 2002 - 11:39:50 EST


Ok, I'm sure this isn't limited to tcp_hashinfo, but does it make sense
to only export some symbols if "x" module is compiled into the kernel?

For example with tcp_hashinfo, its only exported if ipv6 is compiled as
a module. So if one statically compiles in ipv6 or doesnt compile it at
all, its not available to any other modules. Is there a good reason for
it here? Are there other similiar situations with other symbols?
Should it be this way?

It's possible to get around with recompiling modules and System.map
hackery, but should it be necessary?

thanks,

shaya

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:23 EST