projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
octeontx2-af: CN10KB: Fix FIFO length calculation for RPM2
[platform/kernel/linux-starfive.git]
/
lib
/
bitmap.c
diff --git
a/lib/bitmap.c
b/lib/bitmap.c
index
1c81413
..
ddb3101
100644
(file)
--- 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