ARM64 assembler fixes for Folly.
authorAnanth Jasty <ajasty@cavium.com>
Fri, 19 Jun 2015 02:16:22 +0000 (19:16 -0700)
committerSara Golemon <sgolemon@fb.com>
Fri, 19 Jun 2015 02:30:13 +0000 (19:30 -0700)
commit6457c4429379011d12ee841e8325dddeebec538e
treecaf6884a371628a915d5d607324f28e8aa27f7b5
parent372fad515345d453e340a01b54b2ded98a6f2f40
ARM64 assembler fixes for Folly.

Summary: Wrap asm("pause") in an inline so that it becomes
asm("wfe") on aarch64.

Closes #187
Closes #190

Reviewed By: @yfeldblum

Differential Revision: D2152868

Pulled By: @sgolemon
folly/Baton.h
folly/Portability.h
folly/RWSpinLock.h
folly/SharedMutex.h
folly/SmallLocks.h
folly/detail/TurnSequencer.h
folly/experimental/fibers/Baton.cpp
folly/test/SmallLocksTest.cpp
folly/test/SpinLockTest.cpp