git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stack: add C11 atomic implementation
[dpdk.git]
/
lib
/
librte_stack
/
rte_stack_lf.h
diff --git
a/lib/librte_stack/rte_stack_lf.h
b/lib/librte_stack/rte_stack_lf.h
index
bfd6801
..
518889a
100644
(file)
--- a/
lib/librte_stack/rte_stack_lf.h
+++ b/
lib/librte_stack/rte_stack_lf.h
@@
-5,7
+5,11
@@
#ifndef _RTE_STACK_LF_H_
#define _RTE_STACK_LF_H_
+#ifdef RTE_USE_C11_MEM_MODEL
+#include "rte_stack_lf_c11.h"
+#else
#include "rte_stack_lf_generic.h"
+#endif
/**
* @internal Push several objects on the lock-free stack (MT-safe).