diff options
Diffstat (limited to 'net/netlabel')
-rw-r--r-- | net/netlabel/netlabel_addrlist.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/netlabel/netlabel_addrlist.h b/net/netlabel/netlabel_addrlist.h index 1c1c093cf279..2b9644e19de0 100644 --- a/net/netlabel/netlabel_addrlist.h +++ b/net/netlabel/netlabel_addrlist.h | |||
@@ -96,12 +96,12 @@ static inline struct netlbl_af4list *__af4list_valid_rcu(struct list_head *s, | |||
96 | 96 | ||
97 | #define netlbl_af4list_foreach(iter, head) \ | 97 | #define netlbl_af4list_foreach(iter, head) \ |
98 | for (iter = __af4list_valid((head)->next, head); \ | 98 | for (iter = __af4list_valid((head)->next, head); \ |
99 | prefetch(iter->list.next), &iter->list != (head); \ | 99 | &iter->list != (head); \ |
100 | iter = __af4list_valid(iter->list.next, head)) | 100 | iter = __af4list_valid(iter->list.next, head)) |
101 | 101 | ||
102 | #define netlbl_af4list_foreach_rcu(iter, head) \ | 102 | #define netlbl_af4list_foreach_rcu(iter, head) \ |
103 | for (iter = __af4list_valid_rcu((head)->next, head); \ | 103 | for (iter = __af4list_valid_rcu((head)->next, head); \ |
104 | prefetch(iter->list.next), &iter->list != (head); \ | 104 | &iter->list != (head); \ |
105 | iter = __af4list_valid_rcu(iter->list.next, head)) | 105 | iter = __af4list_valid_rcu(iter->list.next, head)) |
106 | 106 | ||
107 | #define netlbl_af4list_foreach_safe(iter, tmp, head) \ | 107 | #define netlbl_af4list_foreach_safe(iter, tmp, head) \ |
@@ -163,12 +163,12 @@ static inline struct netlbl_af6list *__af6list_valid_rcu(struct list_head *s, | |||
163 | 163 | ||
164 | #define netlbl_af6list_foreach(iter, head) \ | 164 | #define netlbl_af6list_foreach(iter, head) \ |
165 | for (iter = __af6list_valid((head)->next, head); \ | 165 | for (iter = __af6list_valid((head)->next, head); \ |
166 | prefetch(iter->list.next), &iter->list != (head); \ | 166 | &iter->list != (head); \ |
167 | iter = __af6list_valid(iter->list.next, head)) | 167 | iter = __af6list_valid(iter->list.next, head)) |
168 | 168 | ||
169 | #define netlbl_af6list_foreach_rcu(iter, head) \ | 169 | #define netlbl_af6list_foreach_rcu(iter, head) \ |
170 | for (iter = __af6list_valid_rcu((head)->next, head); \ | 170 | for (iter = __af6list_valid_rcu((head)->next, head); \ |
171 | prefetch(iter->list.next), &iter->list != (head); \ | 171 | &iter->list != (head); \ |
172 | iter = __af6list_valid_rcu(iter->list.next, head)) | 172 | iter = __af6list_valid_rcu(iter->list.next, head)) |
173 | 173 | ||
174 | #define netlbl_af6list_foreach_safe(iter, tmp, head) \ | 174 | #define netlbl_af6list_foreach_safe(iter, tmp, head) \ |