From 55344520dd31f2018331b9f64236becc0e2cff32 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 20 Feb 2005 20:41:11 +0000 Subject: [PATCH] Fix a stupid cut & paste error. svn path=/trunk/; revision=13696 --- reactos/w32api/include/ddk/winddk.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/reactos/w32api/include/ddk/winddk.h b/reactos/w32api/include/ddk/winddk.h index 8c4b400f025..34698ed5454 100644 --- a/reactos/w32api/include/ddk/winddk.h +++ b/reactos/w32api/include/ddk/winddk.h @@ -7612,7 +7612,16 @@ KeMemoryBarrier( 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