diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-07-05 14:23:59 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-07-05 14:23:59 +0000 |
| commit | c192b3dcffd5e672a2b2e1730e2440febb4fb192 (patch) | |
| tree | ac719b5984165053bf83d71142e4d96b609b9784 /lib/Headers/rtmintrin.h | |
| parent | 2e645aa5697838f16ec570eb07c2bee7e13d0e0b (diff) | |
Diffstat (limited to 'lib/Headers/rtmintrin.h')
| -rw-r--r-- | lib/Headers/rtmintrin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Headers/rtmintrin.h b/lib/Headers/rtmintrin.h index 8709a125a7be..e6a58d743bc9 100644 --- a/lib/Headers/rtmintrin.h +++ b/lib/Headers/rtmintrin.h @@ -38,15 +38,15 @@ #define _XABORT_CODE(x) (((x) >> 24) & 0xFF) /* Define the default attributes for the functions in this file. */ -#define DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("rtm"))) +#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("rtm"))) -static __inline__ unsigned int DEFAULT_FN_ATTRS +static __inline__ unsigned int __DEFAULT_FN_ATTRS _xbegin(void) { return __builtin_ia32_xbegin(); } -static __inline__ void DEFAULT_FN_ATTRS +static __inline__ void __DEFAULT_FN_ATTRS _xend(void) { __builtin_ia32_xend(); @@ -54,6 +54,6 @@ _xend(void) #define _xabort(imm) __builtin_ia32_xabort((imm)) -#undef DEFAULT_FN_ATTRS +#undef __DEFAULT_FN_ATTRS #endif /* __RTMINTRIN_H */ |
