platform: use KERNEL_VERSION to simplify uClibc version checking
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Mar 2013 15:13:22 +0000 (11:13 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Mar 2013 15:13:22 +0000 (11:13 -0400)
commit445e7543e80d629173d96a77fbfe228fe795cb88
tree8cff682c57f9767dd77bcca26f48a750be99bb2a
parentbca5c556c43ced7b368fdd90a24e4aecf40045ac
platform: use KERNEL_VERSION to simplify uClibc version checking

This makes reading the logic (as well as adding new code) a lot simpler,
and fixes one or two cases that were broken due to incorrect sub-version
tests.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
coreutils/id.c
include/platform.h
networking/ether-wake.c