From: Hauke Mehrtens Date: Sat, 30 Nov 2013 19:54:42 +0000 (+0100) Subject: backports: add backport_ in front of sign_extend32() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b0f05d427bfee0f4b7158560ddfde9ee3bf05fef;p=openwrt%2Fstaging%2Fblogic.git backports: add backport_ in front of sign_extend32() sign_extend32() is also backported by the RHEL kernel, this fixes a compile problem. Signed-off-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- diff --git a/backport/backport-include/linux/bitops.h b/backport/backport-include/linux/bitops.h index f2d2faf2e355..e13a56ba2ef6 100644 --- a/backport/backport-include/linux/bitops.h +++ b/backport/backport-include/linux/bitops.h @@ -24,6 +24,7 @@ static inline unsigned long __ffs64(u64 word) #endif /* < 2.6.34 */ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,38)) +#define sign_extend32 LINUX_BACKPORT(sign_extend32) static inline __s32 sign_extend32(__u32 value, int index) { __u8 shift = 31 - index;