From: Johannes Berg <johannes.b...@intel.com>

Add BIT_ULL() to bitops.h, this is only available since 3.13.

Signed-off-by: Johannes Berg <johannes.b...@intel.com>
---
 backport/backport-include/linux/bitops.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/backport/backport-include/linux/bitops.h 
b/backport/backport-include/linux/bitops.h
index b0e9283e93c7..86360d04823b 100644
--- a/backport/backport-include/linux/bitops.h
+++ b/backport/backport-include/linux/bitops.h
@@ -16,4 +16,8 @@
 
 #endif
 
+#ifndef BIT_ULL
+#define BIT_ULL(nr) (1ULL << (nr))
+#endif
+
 #endif /* __BACKPORT_BITOPS_H */
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in

Reply via email to