
Hi,
On Tue, 12 Dec 2023 at 01:53, lukas.funke-oss@weidmueller.com wrote:
From: Lukas Funke lukas.funke@weidmueller.com
Add generic 'find_next_zero_bit' implementation in order to enable the use of the 'for_each_set_bitrange' macro. The implementation is currently missing for the sandbox-arch and using the function results in a linker error.
There are more efficient implementations in the architecture specific implementations. However, for the sandbox the implementation should be simple and portable.
Signed-off-by: Lukas Funke lukas.funke@weidmueller.com
(no changes since v1)
arch/sandbox/include/asm/bitops.h | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org
If you wrote this yourself, this is fine. If it came from Linux, etc. then please add mention of that.
Regards, Simon