Skip to content
Commit b33d59fb authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/uaccess: avoid __ashlti3() call



__cmpxchg_user_key() uses 128 bit types which, depending on compiler
and config options, may lead to an __ashlti3() library call.

Get rid of that by simply casting the 128 bit values to 32 bit values.

Reported-by: default avatarkernel test robot <lkp@intel.com>
Suggested-by: default avatarJanis Schoetterl-Glausch <scgl@linux.ibm.com>
Fixes: 51098f0e ("s390/cmpxchg: make loop condition for 1,2 byte cases precise")
Link: https://lore.kernel.org/all/4b96b112d5415d08a81d30657feec2c8c3000f7c.camel@linux.ibm.com/


Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 739ad2e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment