diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-30 20:22:52 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-30 21:22:51 +0100 |
commit | f69c2485a3530f8fa9ccda99ed8c7eb47fd64169 (patch) | |
tree | a66c82583253ca395ae4309c5b2df048604d863c | |
parent | 8ec0b3b34381c2c9b8dd80624fc23ec4b4cb165d (diff) |
backports: add backport_ in front of sign_extend32()v3.13-rc2-1
Upstream commit: cc0d8fe44ec0a46d939398feb8bc38d0db8eb341
sign_extend32() is also backported by the RHEL kernel, this fixes a
compile problem.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r-- | backport/backport-include/linux/bitops.h | 1 |
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; |