Skip to content
Commit 783b2071 authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

arch: implement brute force find_lsb_set()



On RISC-V 64-bit, GCC complains about undefined reference
to 'ffs' via __builtin_ffs(). So implement a brute force
way to do it. Once the toolchain has __builtin_ffs(),
this can be reverted.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 3b2fd1ca
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment