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

From: Alain Birtz <hidden>
Date: 2000-06-03 20:34:13

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help