diff options
author | Yury Norov <yury.norov@gmail.com> | 2022-04-28 13:51:13 -0700 |
---|---|---|
committer | Yury Norov <yury.norov@gmail.com> | 2022-06-03 06:52:58 -0700 |
commit | 0a97953fd2210d0ac8eb5c76f8bd08fb53b6d3d6 (patch) | |
tree | 6e885d7e9e651c08d3db29539df803d48f7ae193 /virt | |
parent | e041e0ac53dd52d2d201aa87edc3adaca1085299 (diff) |
lib: add bitmap_{from,to}_arr64
Manipulating 64-bit arrays with bitmap functions is potentially dangerous
because on 32-bit BE machines the order of halfwords doesn't match.
Another issue is that compiler may throw a warning about out-of-boundary
access.
This patch adds bitmap_{from,to}_arr64 functions in addition to existing
bitmap_{from,to}_arr32.
CC: Alexander Gordeev <agordeev@linux.ibm.com>
CC: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
CC: Christian Borntraeger <borntraeger@linux.ibm.com>
CC: Claudio Imbrenda <imbrenda@linux.ibm.com>
CC: David Hildenbrand <david@redhat.com>
CC: Heiko Carstens <hca@linux.ibm.com>
CC: Janosch Frank <frankja@linux.ibm.com>
CC: Rasmus Villemoes <linux@rasmusvillemoes.dk>
CC: Sven Schnelle <svens@linux.ibm.com>
CC: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Yury Norov <yury.norov@gmail.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions