Re: Complaint about recent LINUX_VERSION_CODEs

From: Jeff Garzik (jgarzik@mandrakesoft.com)
Date: Thu Aug 10 2000 - 10:04:41 EST


Brian Gerst wrote:
>
> Jeff Garzik wrote:
> > My own pet peeve is ppl avoiding the KERNEL_VERSION() macro when doing
> > LINUX_VERSION_CODE tests. Makes each test a bit more readable.
> >
> > Jeff
>
> The only logical reason to not use KERNEL_VERSION is if you want to
> support 2.0.x (which should be deprecated, IMHO anyways).

Most compat code I've seen defines KERNEL_VERSION if its absent, so
IMNSHO one should always use K_V, even on 2.0.x :)

> There are
> also several different clones of KERNEL_VERSION sprinkled throughout the
> kernel as well.

There was a patch once which exorcised these... was it from you?

        Jeff

-- 
Jeff Garzik              |
Building 1024            | Andre the Giant has a posse.
MandrakeSoft, Inc.       |

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:21 EST