Rev 5270 | Rev 6934 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5270 | Rev 6082 | ||
---|---|---|---|
Line 670... | Line 670... | ||
670 | static inline void hlist_add_fake(struct hlist_node *n) |
670 | static inline void hlist_add_fake(struct hlist_node *n) |
671 | { |
671 | { |
672 | n->pprev = &n->next; |
672 | n->pprev = &n->next; |
673 | } |
673 | } |
Line -... | Line 674... | ||
- | 674 | ||
- | 675 | static inline bool hlist_fake(struct hlist_node *h) |
|
- | 676 | { |
|
- | 677 | return h->pprev == &h->next; |
|
- | 678 | } |
|
674 | 679 | ||
675 | /* |
680 | /* |
676 | * Move a list from one list head to another. Fixup the pprev |
681 | * Move a list from one list head to another. Fixup the pprev |
677 | * reference of the first entry if it exists. |
682 | * reference of the first entry if it exists. |
678 | */ |
683 | */ |