Fix a stupid cut & paste error.
Modified: trunk/reactos/w32api/include/ddk/winddk.h
_____
Modified: trunk/reactos/w32api/include/ddk/winddk.h
--- trunk/reactos/w32api/include/ddk/winddk.h 2005-02-20 20:35:59 UTC
(rev 13695)
+++ trunk/reactos/w32api/include/ddk/winddk.h 2005-02-20 20:41:11 UTC
(rev 13696)
@@ -7612,9 +7612,18 @@
VOID)
{
volatile LONG Barrier;
- __asm__ __volatile__ ("xchg %%eax, %0" : : "m" (Barrier) :
"a");
+ __asm__ __volatile__ ("xchg %%eax, %0" : : "m" (Barrier) :
"%eax");
}
+static __inline
+VOID
+KeMemoryBarrier(
+ VOID)
+{
+ volatile LONG Barrier;
+ __asm__ __volatile__ ("xchg %%eax, %0" : : "m" (Barrier) :
"%eax");
+}
+
NTOSAPI
LONG
DDKAPI