linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] lib/bitmap: Export __bitmap_or_equal
@ 2023-02-15  2:14 Guru Das Srinagesh
  2023-02-15  7:56 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Guru Das Srinagesh @ 2023-02-15  2:14 UTC (permalink / raw)
  To: Yury Norov, Andy Shevchenko, Rasmus Villemoes
  Cc: linux-kernel, linux-arm-msm, Guru Das Srinagesh

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(+)

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)
 {
-- 
2.39.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] lib/bitmap: Export __bitmap_or_equal
  2023-02-15  2:14 [PATCH 1/1] lib/bitmap: Export __bitmap_or_equal Guru Das Srinagesh
@ 2023-02-15  7:56 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2023-02-15  7:56 UTC (permalink / raw)
  To: Guru Das Srinagesh
  Cc: Yury Norov, Andy Shevchenko, Rasmus Villemoes, linux-kernel,
	linux-arm-msm

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-15  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-15  2:14 [PATCH 1/1] lib/bitmap: Export __bitmap_or_equal Guru Das Srinagesh
2023-02-15  7:56 ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).