diff mbox series

[1/1] lib/bitmap: Export __bitmap_or_equal

Message ID 20230215021407.13369-1-quic_gurus@quicinc.com (mailing list archive)
State Not Applicable
Headers show
Series [1/1] lib/bitmap: Export __bitmap_or_equal | expand

Commit Message

Guru Das Srinagesh Feb. 15, 2023, 2:14 a.m. UTC
Commit b9fa6442f704 ("cpumask: Implement cpumask_or_equal()") missed out on
exporting __bitmap_or_equal() while introducing it. Fix this.

Signed-off-by: Guru Das Srinagesh <quic_gurus@quicinc.com>
---
 lib/bitmap.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Christoph Hellwig Feb. 15, 2023, 7:56 a.m. UTC | #1
On Tue, Feb 14, 2023 at 06:14:07PM -0800, Guru Das Srinagesh wrote:
> Commit b9fa6442f704 ("cpumask: Implement cpumask_or_equal()") missed out on
> exporting __bitmap_or_equal() while introducing it. Fix this.

What code fails to build without it?

Right now it only appears to be used by the x86 APIC code through
cpumask_or_equal, which must be built in.
diff mbox series

Patch

diff --git a/lib/bitmap.c b/lib/bitmap.c
index 1c81413c51f8..316079e39431 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -80,6 +80,7 @@  bool __bitmap_or_equal(const unsigned long *bitmap1,
 	tmp = (bitmap1[k] | bitmap2[k]) ^ bitmap3[k];
 	return (tmp & BITMAP_LAST_WORD_MASK(bits)) == 0;
 }
+EXPORT_SYMBOL(__bitmap_or_equal);
 
 void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits)
 {