diff options
author | 2024-04-23 17:20:24 +0300 | |
---|---|---|
committer | 2024-05-05 17:53:44 -0700 | |
commit | ccde70f4d4baea4d2ebc3d646a0a4ab4cfdf683c (patch) | |
tree | f7a5a17b2782cf3801f38aaedd4f75c38a6e0777 /mm/memory-failure.c | |
parent | memcg: simple cleanup of stats update functions (diff) | |
download | wireguard-linux-ccde70f4d4baea4d2ebc3d646a0a4ab4cfdf683c.tar.xz wireguard-linux-ccde70f4d4baea4d2ebc3d646a0a4ab4cfdf683c.zip |
xarray: use BITS_PER_LONGS()
Patch series "xarray: Clean up xarray.h".
Main portion of this change is to get rid of kernel.h included into other
globally available headers. This decreases a dependency hell degree. The
first patch makes it possible to avoid math.h to be included as bitops.h
is implied by bitmap.h.
This patch (of 2):
Use BITS_PER_LONGS() instead of open coded variant.
Link: https://lkml.kernel.org/r/20240423142204.2408923-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory-failure.c')
0 files changed, 0 insertions, 0 deletions