[ros-diffs] [navaraf] 13696: Fix a stupid cut & paste error.

navaraf at svn.reactos.com navaraf at svn.reactos.com
Sun Feb 20 21:41:12 CET 2005


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050220/edd58888/attachment.html


More information about the Ros-diffs mailing list