mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-18 18:15:59 +00:00
[XTENSA] fix bit operations in bitops.h
A macro used internally in the bitops.h file to identify the number of leading zeros (__cntlz) was implemented incorrectly for Xtensa processors that don't provide the 'nsa/nsau' instructions. As a result, the dependent functions and macros (ffs, ffz, fls) were broken. Signed-off-by: Chris Zankel <chris@zankel.net>
This commit is contained in:
parent
3f0a6766e0
commit
ef6051a90e
1 changed files with 26 additions and 34 deletions
Loading…
Add table
Add a link
Reference in a new issue