Fix compile failure on raspberry pi machines, issue #141
Former-commit-id: aaca32a5cd1bdb0314b4a57847938854b8a4fef2
This commit is contained in:
parent
f68f3d0d14
commit
ec4eb534d7
@ -299,7 +299,7 @@ extern "C" void fastlock_lock(struct fastlock *lock)
|
|||||||
|
|
||||||
#if defined(__i386__) || defined(__amd64__)
|
#if defined(__i386__) || defined(__amd64__)
|
||||||
__asm__ __volatile__ ("pause");
|
__asm__ __volatile__ ("pause");
|
||||||
#elif defined(__arm__)
|
#elif defined(__aarch64__)
|
||||||
__asm__ __volatile__ ("yield");
|
__asm__ __volatile__ ("yield");
|
||||||
#endif
|
#endif
|
||||||
if ((++cloops % 0x100000) == 0)
|
if ((++cloops % 0x100000) == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user