From f69c2485a3530f8fa9ccda99ed8c7eb47fd64169 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 30 Nov 2013 20:22:52 +0100 Subject: backports: add backport_ in front of sign_extend32() Upstream commit: cc0d8fe44ec0a46d939398feb8bc38d0db8eb341 sign_extend32() is also backported by the RHEL kernel, this fixes a compile problem. Signed-off-by: Hauke Mehrtens --- backport/backport-include/linux/bitops.h | 1 + 1 file changed, 1 insertion(+) diff --git a/backport/backport-include/linux/bitops.h b/backport/backport-include/linux/bitops.h index f2d2faf2..e13a56ba 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; -- cgit v1.2.3