commit | f80d4a14eadfc399fbf0fb0d7bb8b796c13c01a1 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Mar 28 19:03:57 2019 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Mar 28 19:03:57 2019 -0700 |
tree | 01119d50dc8b29d659ea660198c3988f3689e7c6 | |
parent | c18cebd376aef4b6018e22face736bbbb0e54f65 [diff] |
use libc's powerof2 Instead of rolling our own powerof2 function, use the version provided by libc. In particular, this version is not ubsan safe, whereas the libc version is. See https://android-review.googlesource.com/c/platform/bionic/+/932279 Test: compiles and boots Change-Id: I0dd39254357826c14c3185a5e6332faa90975f01