exporting symbols in kernel only when a module is compiled?

Shaya Potter (spotter@cs.columbia.edu)
28 Aug 2002 12:39:50 -0400


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/