Fix to build SharedMutexTest on aarch64
authorKeith Daigle <kdaigle@fb.com>
Wed, 3 Jan 2018 14:58:45 +0000 (06:58 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 3 Jan 2018 15:07:01 +0000 (07:07 -0800)
commiteba5e7f2236a0950957a8a247a0e83385149d13c
tree9184eded3d16787f2358e72f2d4b7d16440c4ae7
parentff18deaf720fbe59551a7ff275b09003a61c4351
Fix to build SharedMutexTest on aarch64

Summary:
While trying to build folly on aarch64 found that the SharedMutexTest
wouldn't build because it uses RWTicketSpinLock which was only available
on x86 platforms.  Updated to allow build on aarch64 after suggestion by Orvid

Reviewed By: yfeldblum

Differential Revision: D6611609

fbshipit-source-id: 8ec477cdedac0f0a705608bbac42dd63b3efb919
folly/RWSpinLock.h