Merge branch 'keys-sig' into keys-next
[deliverable/linux.git] / include / linux / list_bl.h
index ee7229a6c06ae5e0f130056c8fadc80d0b733601..cb483305e1f5af4e856a05446a02fbcfacf61165 100644 (file)
@@ -48,7 +48,7 @@ static inline void INIT_HLIST_BL_NODE(struct hlist_bl_node *h)
 
 #define hlist_bl_entry(ptr, type, member) container_of(ptr,type,member)
 
-static inline int hlist_bl_unhashed(const struct hlist_bl_node *h)
+static inline bool  hlist_bl_unhashed(const struct hlist_bl_node *h)
 {
        return !h->pprev;
 }
@@ -68,7 +68,7 @@ static inline void hlist_bl_set_first(struct hlist_bl_head *h,
        h->first = (struct hlist_bl_node *)((unsigned long)n | LIST_BL_LOCKMASK);
 }
 
-static inline int hlist_bl_empty(const struct hlist_bl_head *h)
+static inline bool hlist_bl_empty(const struct hlist_bl_head *h)
 {
        return !((unsigned long)READ_ONCE(h->first) & ~LIST_BL_LOCKMASK);
 }
This page took 0.025941 seconds and 5 git commands to generate.