From: Luis R. Rodriguez Date: Tue, 20 Mar 2012 01:25:34 +0000 (-0700) Subject: compat: fix load time issue with kfifo backport X-Git-Tag: compat-2012-07-02~1^2~52 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=22f03e353206c8f848de9d47cb1f6079fdfe9ed3;p=~emulex%2Ffor-vlad%2Fcompat.git compat: fix load time issue with kfifo backport 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 --- 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