summaryrefslogtreecommitdiff
path: root/lib/bitmap.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2023-05-18 11:52:40 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2023-05-18 11:52:40 +1000
commit71f38de3915c7a402e52f624dcc199c461d7b80d (patch)
treee73ade79a9467bb624c082eedc1855949ce790f8 /lib/bitmap.c
parent873552f7f0b95520ce3b3c51a42a65742c62df33 (diff)
parent714f3af11b21b15d4bab91045928a8498bbbffa1 (diff)
downloadlinux-next-71f38de3915c7a402e52f624dcc199c461d7b80d.tar.gz
Merge branch 'bitmap-for-next' of https://github.com/norov/linux.git
# Conflicts: # include/linux/cpumask.h
Diffstat (limited to 'lib/bitmap.c')
-rw-r--r--lib/bitmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bitmap.c b/lib/bitmap.c
index 1c81413c51f8..ddb31015e38a 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -1495,7 +1495,7 @@ void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap, unsigned int nbits)
EXPORT_SYMBOL(bitmap_to_arr32);
#endif
-#if (BITS_PER_LONG == 32) && defined(__BIG_ENDIAN)
+#if BITS_PER_LONG == 32
/**
* bitmap_from_arr64 - copy the contents of u64 array of bits to bitmap
* @bitmap: array of unsigned longs, the destination bitmap