summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-11-30 20:54:42 +0100
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-12-02 11:49:16 +0100
commitb0f05d427bfee0f4b7158560ddfde9ee3bf05fef (patch)
tree8d2ec4ccd875d46c8380b4b808a2628d00a26381
parent71b962748366fcccbd48db189b8381d1c1dd4f17 (diff)
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 <hauke@hauke-m.de> Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
-rw-r--r--backport/backport-include/linux/bitops.h1
1 files changed, 1 insertions, 0 deletions
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;