summaryrefslogtreecommitdiff
path: root/modutils/rmmod.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-19 11:54:02 +0000
committerBernhard Reutner-Fischer2006-05-19 11:54:02 +0000
commite2e56c7c4129de7d20df42e8239fd304c81ef29b (patch)
tree0f9eb8281fac2f87c79a888dac49b27a1965b366 /modutils/rmmod.c
parente3c150bc67cb158ee854ffb498f0066c79cd842c (diff)
downloadbusybox-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.c2
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