Update list, rculist and hlist
[urcu.git] / tests / api_gcc.h
index 721af0a4813c25c498c391de49ba5d5e8d7d68c9..1c8b12b252670b2cfd2f498f7bcb96a15ed4b9c1 100644 (file)
@@ -285,7 +285,6 @@ cmpxchg(volatile long *ptr, long oldval, long newval)
 #include <pthread.h>
 #include <sched.h>
 #include <sys/param.h>
-#include <arch.h>
 /* #include "atomic.h" */
 
 /*
@@ -641,6 +640,7 @@ static void smp_init(void)
        const typeof( ((type *)0)->member ) *__mptr = (ptr);    \
        (type *)( (char *)__mptr - offsetof(type,member) );})
 
+#if 0
 /*
  * Simple doubly linked list implementation.
  *
@@ -1165,6 +1165,8 @@ static inline void list_splice_tail_init(struct list_head *list,
             &pos->member != (head);                                    \
             pos = n, n = list_entry(n->member.prev, typeof(*n), member))
 
+#endif //0
+
 /*
  * Double linked lists with a single pointer list head.
  * Mostly useful for hash tables where the two pointer list head is
This page took 0.022845 seconds and 4 git commands to generate.