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 423d59528860f01338f72d9860d629b786130680..5d6e34ccfb06437562f8eefb56392cde6aef0d3f 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
-       echo "CONFIG_COMPAT_KFIFO=m"
+       echo "CONFIG_COMPAT_KFIFO=y"
 fi