sign_extend32() is also backported by the RHEL kernel, this fixes a compile problem. Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx> --- 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 f2d2faf..e13a56b 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; -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html