Re: modutils-2.1.42

Richard Henderson (rth@cygnus.com)
Sun, 24 Aug 1997 11:22:58 -0700 (PDT)


> Anybody know what's up with the kernel_version variable or constant
> rather? Seems that in some drivers (2.1.51 kernel) the variable is set
> and most of the others it isn't.

Really? I don't see that here. Which drivers? If you do

objdump -s -j .modinfo driver.o

do you not see something like

Contents of section .modinfo:
0000 6b65726e 656c5f76 65727369 6f6e3d32 kernel_version=2 <<<<<<
0010 2e312e35 31000000 7573696e 675f6368 .1.51...using_ch
0020 65636b73 756d733d 31000000 00000000 ecksums=1.......

r~