How to define global as parameter in module source (to use in insmod)

Alain Birtz abz at videotron.ca
Sun Jun 4 06:34:13 EST 2000


Global variable in module source can be set with the command line insmod
like:
    insmod skull skull_ival=666
but with kernel 2.1 the variable skull_ival in the C module source must
be declared as parameter
How do this ?


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list