Merge tag 'block-6.6-2023-10-27' of git://git.kernel.dk/linux
[platform/kernel/linux-rpi.git] / lib / bitmap.c
index 1c81413..ddb3101 100644 (file)
@@ -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