[PATCH 3/4] compat: fix load time issue with kfifo backport

From: Luis R. Rodriguez
Date: Mon Mar 19 2012 - 23:28:01 EST


From: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxx>
---
scripts/gen-compat-config.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen-compat-config.sh b/scripts/gen-compat-config.sh
index 423d595..5d6e34c 100755
--- a/scripts/gen-compat-config.sh
+++ b/scripts/gen-compat-config.sh
@@ -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
--
1.7.10.rc1.22.gf5241

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/