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
regex/mlx5: fix type of setup constants
[dpdk.git]
/
lib
/
librte_eal
/
x86
/
include
/
rte_rtm.h
diff --git
a/lib/librte_eal/x86/include/rte_rtm.h
b/lib/librte_eal/x86/include/rte_rtm.h
index
eb0f8e8
..
36bf498
100644
(file)
--- a/
lib/librte_eal/x86/include/rte_rtm.h
+++ b/
lib/librte_eal/x86/include/rte_rtm.h
@@
-25,7
+25,7
@@
extern "C" {
#define RTE_XABORT_NESTED (1 << 5)
#define RTE_XABORT_CODE(x) (((x) >> 24) & 0xff)
#define RTE_XABORT_NESTED (1 << 5)
#define RTE_XABORT_CODE(x) (((x) >> 24) & 0xff)
-static __
attribute__((__always_inline__))
inline
+static __
rte_always_
inline
unsigned int rte_xbegin(void)
{
unsigned int ret = RTE_XBEGIN_STARTED;
unsigned int rte_xbegin(void)
{
unsigned int ret = RTE_XBEGIN_STARTED;
@@
-34,7
+34,7
@@
unsigned int rte_xbegin(void)
return ret;
}
return ret;
}
-static __
attribute__((__always_inline__))
inline
+static __
rte_always_
inline
void rte_xend(void)
{
asm volatile(".byte 0x0f,0x01,0xd5" ::: "memory");
void rte_xend(void)
{
asm volatile(".byte 0x0f,0x01,0xd5" ::: "memory");
@@
-45,7
+45,7
@@
void rte_xend(void)
asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory"); \
} while (0)
asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory"); \
} while (0)
-static __
attribute__((__always_inline__))
inline
+static __
rte_always_
inline
int rte_xtest(void)
{
unsigned char out;
int rte_xtest(void)
{
unsigned char out;