arm64: dts: mediatek: mt8183-evb: Fix unit_address_vs_reg warning on ntc
[platform/kernel/linux-starfive.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