From: Johannes Berg Date: Tue, 2 Apr 2013 22:46:12 +0000 (+0200) Subject: fix EWMA backport X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a2993c24a41fd69c4dd51c344ae6c6526906213f;p=openwrt%2Fstaging%2Fblogic.git fix EWMA backport If backporting to a kernel that already has it, the symbol mangling shouldn't be done ... Signed-off-by: Johannes Berg --- diff --git a/backport/include/linux/average.h b/backport/include/linux/average.h index fb0f3975bcac..16eff0da3b7f 100644 --- a/backport/include/linux/average.h +++ b/backport/include/linux/average.h @@ -1,6 +1,6 @@ #include -#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37)) +#ifndef CPTCFG_BACKPORT_BUILD_AVERAGE #include_next #else /* Exponentially weighted moving average (EWMA) */