Mixer: fixed wrong macro logic leading to potential performance loss

The macro logic for defining the SPINLOCK_PAUSE macro tested against
LMMS_HOST_X86_64 twice instead of testing against LMMS_HOST_X86_64 and
LMMS_HOST_X86. This caused the SPINLOCK_PAUSE macro not being set on
x86.
This commit is contained in:
Tobias Doerffel
2009-08-03 18:53:10 +02:00
parent e0df82056c
commit bf8f823751

View File

@@ -252,7 +252,7 @@ void MixerWorkerThread::processJobQueue( void )
// define a pause instruction for spinlock-loop - merely useful on
// HyperThreading systems with just one physical core (e.g. Intel Atom)
#ifdef LMMS_HOST_X86_64
#ifdef LMMS_HOST_X86
#define SPINLOCK_PAUSE() asm( "pause" )
#else
#ifdef LMMS_HOST_X86_64