backports: add backport_ in front of sign_extend32()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 30 Nov 2013 19:54:42 +0000 (20:54 +0100)
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>
Mon, 2 Dec 2013 10:49:16 +0000 (11:49 +0100)
sign_extend32() is also backported by the RHEL kernel, this fixes a
compile problem.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
backport/backport-include/linux/bitops.h

index f2d2faf2e3556fecb8df86308b8e25cc32a0273b..e13a56ba2ef6f33a5846c4e72d2bfcb00dd89adc 100644 (file)
@@ -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;