riscv: Make __flush_tlb_range() loop over pte instead of flushing the whole tlb
[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