From 6fc49a76a132ba5d1c48ad76e6713ab3deb1237d Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 5 Sep 2002 22:21:45 +0000 Subject: [PATCH] Let's take the performance hit (cache flush) on UP and make it work on SMP too. (thanks to Cameron Hutchison) Original commit message from CVS: Let's take the performance hit (cache flush) on UP and make it work on SMP too. (thanks to Cameron Hutchison) --- gst/gstatomic.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/gst/gstatomic.h b/gst/gstatomic.h index d9bc8810ba..a360802ebe 100644 --- a/gst/gstatomic.h +++ b/gst/gstatomic.h @@ -125,11 +125,7 @@ struct _GstAtomicSwap { #if defined (__i386__) && defined (__GNUC__) && __GNUC__ >= 2 -# ifdef __SMP__ -# define GST_ATOMIC_LOCK "lock ; " -# else -# define GST_ATOMIC_LOCK "" -# endif +#define GST_ATOMIC_LOCK "lock ; " #define _GST_ATOMIC_SWAP_INIT(swap,val) \ G_STMT_START { \