From faedfbacd7de5d7224f6131cb891c3f8f1145201 Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Sat, 30 Aug 2008 23:06:13 +0000 Subject: [PATCH] - Fix build... svn path=/trunk/; revision=35822 --- reactos/include/psdk/winnt.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reactos/include/psdk/winnt.h b/reactos/include/psdk/winnt.h index 5b0a9f3fe9f..5e95559803e 100644 --- a/reactos/include/psdk/winnt.h +++ b/reactos/include/psdk/winnt.h @@ -4695,10 +4695,7 @@ VOID MemoryBarrier(VOID) { LONG Barrier; - __asm__ __volatile__ - { - xchg Barrier, eax - } + __asm__ __volatile__("xchgl %%eax, %[Barrier]" : : [Barrier] "m" (Barrier) : "memory"); } #elif defined (_M_AMD64) #define MemoryBarrier()