Main-line Linux kernel tree http://www.kernel.org
Go to file
Yury Norov 0a97953fd2 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>
2022-06-03 06:52:58 -07:00
arch arch/x86: replace nodes_weight with nodes_empty where appropriate 2022-06-03 06:52:57 -07:00
block
certs
crypto
Documentation linux-kselftest-kunit-fixes-5.18-rc2 2022-04-08 15:06:11 -10:00
drivers irq: mips: replace cpumask_weight with cpumask_empty where appropriate 2022-06-03 06:52:57 -07:00
fs Driver core changes for 5.18-rc2 2022-04-10 09:55:09 -10:00
include lib: add bitmap_{from,to}_arr64 2022-06-03 06:52:58 -07:00
init
ipc
kernel clocksource: replace cpumask_weight with cpumask_empty in clocksource.c 2022-06-03 06:52:57 -07:00
lib lib: add bitmap_{from,to}_arr64 2022-06-03 06:52:58 -07:00
LICENSES
mm mm/vmstat: replace cpumask_weight with cpumask_empty where appropriate 2022-06-03 06:52:57 -07:00
net
samples
scripts
security
sound
tools - Fix the MSI message data struct definition 2022-04-10 07:12:27 -10:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap mailmap: update Vasily Averin's email address 2022-04-08 14:20:36 -10:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: add cpumask and nodemask files to BITMAP_API 2022-06-03 06:52:57 -07:00
Makefile Linux 5.18-rc2 2022-04-10 14:21:36 -10:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.