Solve a problem when cross-compiling for PPC32 - in this case, OPAL_HAVE_ATOMIC_CMPSET_64 is not set, but the code requires that the ADD_64 and SUB_64 values at least be defined.
This commit was SVN r24528.
Этот коммит содержится в:
родитель
a8c1a3b4ee
Коммит
7eede54b39
@ -101,6 +101,16 @@ opal_atomic_sub_64(volatile int64_t *addr, int64_t delta)
|
||||
}
|
||||
#endif /* OPAL_HAVE_ATOMIC_SUB_64 */
|
||||
|
||||
#else
|
||||
|
||||
#if !defined(OPAL_HAVE_ATOMIC_ADD_64)
|
||||
#define OPAL_HAVE_ATOMIC_ADD_64 0
|
||||
#endif
|
||||
|
||||
#if !defined(OPAL_HAVE_ATOMIC_SUB_64)
|
||||
#define OPAL_HAVE_ATOMIC_SUB_64 0
|
||||
#endif
|
||||
|
||||
#endif /* OPAL_HAVE_ATOMIC_CMPSET_64 */
|
||||
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user