Move spinlock to a function static variable from global.
The current code hits static initializer check. Moved to a function so that it will be initialized on demand. Bug: 1119650 Test: Ran linux-rel tryjob. Change-Id: Id77428a3754892c6f17fab48030d9f44673e37ac Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2364155Reviewed-by:Will Harris <wfh@chromium.org> Commit-Queue: Hidehiko Abe <hidehiko@chromium.org> Cr-Commit-Position: refs/heads/master@{#800380}
Showing
Please register or sign in to comment