projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa46654
)
- Fix MSVC YieldProcessor macro
author
Stefan Ginsberg
<stefanginsberg@gmail.com>
Thu, 1 Oct 2009 14:18:54 +0000
(14:18 +0000)
committer
Stefan Ginsberg
<stefanginsberg@gmail.com>
Thu, 1 Oct 2009 14:18:54 +0000
(14:18 +0000)
svn path=/trunk/; revision=43249
reactos/include/psdk/winnt.h
patch
|
blob
|
history
diff --git
a/reactos/include/psdk/winnt.h
b/reactos/include/psdk/winnt.h
index
d506bb6
..
627e3dc
100644
(file)
--- a/
reactos/include/psdk/winnt.h
+++ b/
reactos/include/psdk/winnt.h
@@
-4965,20
+4965,16
@@
MemoryBarrier(VOID)
#error Unknown architecture
#endif
-VOID
-_mm_pause (
- VOID
- );
-
-
#if defined(_M_IX86)
#ifdef _MSC_VER
#pragma intrinsic(_mm_pause)
+#define YieldProcessor _mm_pause
#else
#define YieldProcessor() __asm__ __volatile__("pause");
#endif
#elif defined (_M_AMD64)
#ifdef _MSC_VER
+#pragma intrinsic(_mm_pause)
#define YieldProcessor _mm_pause
#else
#define YieldProcessor() __asm__ __volatile__("pause");