Don't use ARMv5/6/7 atomics on 64-bit ARM, as they are AArch32 specific

Change-Id: I0c359e62a8cbf560691019187f316561bddbee52
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Tor Arne Vestbø 2013-09-16 16:59:07 +02:00 committed by The Qt Project
parent 51da240149
commit ae577e6b8f

View File

@ -60,11 +60,11 @@
// Processor dependent implementation // Processor dependent implementation
#elif defined(Q_PROCESSOR_ALPHA) #elif defined(Q_PROCESSOR_ALPHA)
# include "QtCore/qatomic_alpha.h" # include "QtCore/qatomic_alpha.h"
#elif defined(Q_PROCESSOR_ARM_V7) #elif defined(Q_PROCESSOR_ARM_V7) && defined(Q_PROCESSOR_ARM_32)
# include "QtCore/qatomic_armv7.h" # include "QtCore/qatomic_armv7.h"
#elif defined(Q_PROCESSOR_ARM_V6) #elif defined(Q_PROCESSOR_ARM_V6) && defined(Q_PROCESSOR_ARM_32)
# include "QtCore/qatomic_armv6.h" # include "QtCore/qatomic_armv6.h"
#elif defined(Q_PROCESSOR_ARM_V5) #elif defined(Q_PROCESSOR_ARM_V5) && defined(Q_PROCESSOR_ARM_32)
# include "QtCore/qatomic_armv5.h" # include "QtCore/qatomic_armv5.h"
#elif defined(Q_PROCESSOR_BFIN) #elif defined(Q_PROCESSOR_BFIN)
# include "QtCore/qatomic_bfin.h" # include "QtCore/qatomic_bfin.h"