projects
/
urcu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wfstack: LGPL-ize
[urcu.git]
/
tests
/
api_x86.h
diff --git
a/tests/api_x86.h
b/tests/api_x86.h
index eba0613d45682206c246a88c2bf7a38a824c9915..cdd46675f8ac194e35c190afc23d73a2863992f2 100644
(file)
--- a/
tests/api_x86.h
+++ b/
tests/api_x86.h
@@
-352,13
+352,6
@@
__asm__ __volatile__(LOCK_PREFIX "orl %0,%1" \
#include <sys/param.h>
/* #include "atomic.h" */
#include <sys/param.h>
/* #include "atomic.h" */
-/*
- * Compiler magic.
- */
-#define container_of(ptr, type, member) ({ \
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- (type *)( (char *)__mptr - offsetof(type,member) );})
-
/*
* Default machine parameters.
*/
/*
* Default machine parameters.
*/
@@
-713,10
+706,6
@@
static void smp_init(void)
#define LIST_POISON1 ((void *) 0x00100100)
#define LIST_POISON2 ((void *) 0x00200200)
#define LIST_POISON1 ((void *) 0x00100100)
#define LIST_POISON2 ((void *) 0x00200200)
-#define container_of(ptr, type, member) ({ \
- const typeof( ((type *)0)->member ) *__mptr = (ptr); \
- (type *)( (char *)__mptr - offsetof(type,member) );})
-
#if 0
/*
#if 0
/*
This page took
0.023429 seconds
and
4
git commands to generate.