standard for kernel version calculation?
Robert P. J. Day
rpjday at mindspring.com
Wed Mar 29 11:55:24 PST 2006
um ... would someone like to suggest a single standard for kernel
version comparison? the (abridged) result of a recursive grep:
if (get_kernel_revision() <= 2*65536+6*256)
if (get_kernel_revision() < KRELEASE(2, 1, 0))
if (get_kernel_revision() < MAKE_VERSION(2, 1, 117))
if (get_kernel_revision() <= 66314
i'm thinking that perhaps just one of these variations would be
sufficient. :-)
rday
p.s. it's only *minimally* annoying that the funtion
get_kernel_revision() is contained in the source file
kernel_version.c. perhaps one of these things could be renamed to
match the other? but i won't make a big issue of it.
More information about the busybox
mailing list