Skip to contentSkip to conversation

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

DISCUSSION Alain Birtz 1 participant 1 message Jun 3, 2000

lore
Share & tools
lore
#0 lore raw

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/