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.

(cherry picked from commit bf8f823751)
This commit is contained in:
Tobias Doerffel
2009-08-03 18:53:10 +02:00
parent 6d6bbe3b32
commit f969b7d892

View File

@@ -280,7 +280,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