Skip to contentSkip to conversation

backports: add BIT_ULL

PATCH In review Johannes Berg 2 participants 2 messages Dec 17, 2015 – Dec 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 backports: add BIT_ULL

From: Johannes Berg <[email protected]>

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

---
 backport/backport-include/linux/bitops.h | 4 ++++
 1 file changed, 4 insertions(+)
backport/backport-include/linux/bitops.h +4 -0
index b0e9283e93c7..86360d04823b 100644
@@ -16,4 +16,8 @@
 
 #endif
 
+#ifndef BIT_ULL
+#define BIT_ULL(nr) (1ULL << (nr))
+#endif
+
 #endif /* __BACKPORT_BITOPS_H */
Signature · 4 lines
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe backports" in
#1 lore raw
Quoted 9 lines · Johannes Berg

From: Johannes Berg <[email protected]>

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

---
 backport/backport-include/linux/bitops.h | 4 ++++
 1 file changed, 4 insertions(+)

Thank you for the patch, it was applied and pushed out.
--
To unsubscribe from this list: send the line "unsubscribe backports" in