summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
author/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 12:56:17 +0000
committer/C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org>2008-01-15 12:56:17 +0000
commitf66ce57358db77bdc50b055325ac103f7c38d5fa (patch)
treede707a2f3c7c5474dd91a683b18a6154eb586de3 /include
parent17c3451c18389990d74936e79ee19a4aa15e97d0 (diff)
Max Kellermann <max@duempel.org>:
remove prefetch from slist.h since it confuses gcc
Diffstat (limited to 'include')
-rw-r--r--include/slist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/slist.h b/include/slist.h
index ab7fa34..257b627 100644
--- a/include/slist.h
+++ b/include/slist.h
@@ -30,7 +30,7 @@ static inline void slist_add(struct slist_head *head, struct slist_head *t)
#define slist_entry(ptr, type, member) container_of(ptr,type,member)
#define slist_for_each(pos, head) \
- for (pos = (head)->next; pos && ({ prefetch(pos.next); 1; }); \
+ for (pos = (head)->next; pos; \
pos = pos->next)
#define slist_for_each_safe(pos, prev, next, head) \