You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug#34594825 NdbSpin_Init calculates wrong number of loops in NdbSpin
Clean up the cpu_pause definitions in the HW abstraction layer mt-asm.h:
Fixes two related cpu_pause issues:
1) Empty (and unused) definitions for cpu_pause() where provided
for platforms which didn't #define NDB_HAVE_CPU_PAUSE
- GNUC compiling code for __sparc
- SUN STUDIO compiling code for __sparc
2) For ARM architecture '__aarch64__' (Apple M1/M2) an implementation of
cpu_pause() was provided. As it didn't also #define NDB_HAVE_CPU_PAUSE
the 'pause' was unused. Thus, usage of spin was effectively disabled
on that platform.
Change-Id: I9e1bd11f26ea861240be4753cadbb58e72f29fd9
0 commit comments