lkml.org 
[lkml]   [2023]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/1] lib/bitmap: Export __bitmap_or_equal
Date
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
\
 
 \ /
  Last update: 2023-03-27 00:23    [W:0.043 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site