commit | 73c963e4c5bf111df3abe9ad7eac98a918b88bb3 | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Mon Jul 14 18:47:23 2014 -0700 |
committer | Christopher Ferris <cferris@google.com> | Tue Jul 15 13:23:06 2014 -0700 |
tree | 699c447d08e3f42bf3b7623195961a437910da50 | |
parent | ca276c40dfdb80ef553c6646da7f984ef7b694ce [diff] |
Fix BIONIC_ROUND_UP_POWER_OF_2 for 64 bit. There were two bugs here: - For 64 bit values, this did not properly round up. - The macro rounded to the power of 2 less than value, not to the power of 2 greater than value. (cherry picked from commit 27047faf283cb9d3d025a984cd9934fd2c404407) Change-Id: Idf1ec67854e1eb423704e599ae1c6b674d36618d