[pacakge] dropbear: Add config options to allow specification of host key files,...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 018-list_for_each_continue_backport.patch
1 --- a/include/linux/compat-2.6.33.h
2 +++ b/include/linux/compat-2.6.33.h
3 @@ -98,6 +98,12 @@ int pccard_loop_tuple(struct pcmcia_sock
4 #define kfifo_out(a, b, c) __kfifo_get(*a, b, c)
5 #define kfifo_len(a) __kfifo_len(*a)
6
7 +#define list_for_each_entry_continue_rcu(pos, head, member) \
8 + for (pos = list_entry_rcu(pos->member.next, typeof(*pos), member); \
9 + prefetch(pos->member.next), &pos->member != (head); \
10 + pos = list_entry_rcu(pos->member.next, typeof(*pos), member))
11 +
12 +
13 #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33)) */
14
15 #endif /* LINUX_26_33_COMPAT_H */