diff options
author | Bernhard Reutner-Fischer | 2006-05-19 11:54:02 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2006-05-19 11:54:02 +0000 |
commit | e2e56c7c4129de7d20df42e8239fd304c81ef29b (patch) | |
tree | 0f9eb8281fac2f87c79a888dac49b27a1965b366 /modutils/rmmod.c | |
parent | e3c150bc67cb158ee854ffb498f0066c79cd842c (diff) | |
download | busybox-e2e56c7c4129de7d20df42e8239fd304c81ef29b.zip busybox-e2e56c7c4129de7d20df42e8239fd304c81ef29b.tar.gz |
- single KERNEL_VERSION(a,b,c) macro in platform.h
- rename get_kernel_revision() to get_linux_version_code
from Robert P. J. Day
Diffstat (limited to 'modutils/rmmod.c')
-rw-r--r-- | modutils/rmmod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modutils/rmmod.c b/modutils/rmmod.c index 5302ab2..36bea34 100644 --- a/modutils/rmmod.c +++ b/modutils/rmmod.c @@ -38,7 +38,7 @@ static inline void filename2modname(char *modname, const char *afterslash) #if ENABLE_FEATURE_2_4_MODULES int kr_chk = 1; - if (get_kernel_revision() <= 2*65536+6*256) + if (get_linux_version_code() <= KERNEL_VERSION(2,6,0)) kr_chk = 0; #else #define kr_chk 1 |