Skip to content
Commit 420c158d authored by Catalin Marinas's avatar Catalin Marinas
Browse files

arm64: Treat the bitops index argument as an 'int'



The bitops prototype use an 'int' as the bit index type but the asm
implementation assume it to be a 'long'. Since the compiler does not
guarantee zeroing the upper 32-bits in a register when used as 'int',
change the bitops implementation accordingly.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 0e7f7bcc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment