Author: tkreuzer Date: Tue Jun 7 09:49:23 2011 New Revision: 52128
URL: http://svn.reactos.org/svn/reactos?rev=52128&view=rev Log: [HAL] Use KeMemoryBarrierWithoutFence instead of _ReadWriteBarrier
Modified: trunk/reactos/hal/halx86/generic/spinlock.c
Modified: trunk/reactos/hal/halx86/generic/spinlock.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/spinlock... ============================================================================== --- trunk/reactos/hal/halx86/generic/spinlock.c [iso-8859-1] (original) +++ trunk/reactos/hal/halx86/generic/spinlock.c [iso-8859-1] Tue Jun 7 09:49:23 2011 @@ -190,7 +190,7 @@
/* Add an explicit memory barrier to prevent the compiler from reordering memory accesses across the borders of spinlocks */ - _ReadWriteBarrier(); + KeMemoryBarrierWithoutFence();
/* Always return true on UP Machines */ return TRUE; @@ -214,7 +214,7 @@
/* Add an explicit memory barrier to prevent the compiler from reordering memory accesses across the borders of spinlocks */ - _ReadWriteBarrier(); + KeMemoryBarrierWithoutFence();
/* Always return true on UP Machines */ return TRUE;