compat: fix load time issue with kfifo backport
authorLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 20 Mar 2012 01:25:34 +0000 (18:25 -0700)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Tue, 20 Mar 2012 01:25:34 +0000 (18:25 -0700)
The CONFIG_COMPAT_KFIFO config option must be defined
to CONFIG_COMPAT_KFIFO=y instead of CONFIG_COMPAT_KFIFO=m
as the kfifo object is not a module, its simply part of
the compat module. This should fix users of the kfifo
backport on kernels older than 2.6.36.

Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
scripts/gen-compat-config.sh

index 423d595..5d6e34c 100755 (executable)
@@ -59,5 +59,5 @@ if [[ ${CONFIG_COMPAT_KERNEL_2_6_33} = "y" ]]; then
 fi
 
 if [[ ${CONFIG_COMPAT_KERNEL_2_6_36} = "y" ]]; then
 fi
 
 if [[ ${CONFIG_COMPAT_KERNEL_2_6_36} = "y" ]]; then
-       echo "CONFIG_COMPAT_KFIFO=m"
+       echo "CONFIG_COMPAT_KFIFO=y"
 fi
 fi