]> Git Repo - linux.git/commit
s390/uaccess: avoid __ashlti3() call
authorHeiko Carstens <[email protected]>
Wed, 4 Jan 2023 15:55:53 +0000 (16:55 +0100)
committerHeiko Carstens <[email protected]>
Wed, 4 Jan 2023 16:54:50 +0000 (17:54 +0100)
commitb33d59fb37ddcb6ee65d4fa23cc3d58793d13c5b
tree27f32dfe10f7a2080a628f61e44c9ec4a8d97aa6
parent739ad2e4e15b585a0eaf98b7bdee62b2dd9588c9
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: kernel test robot <[email protected]>
Suggested-by: Janis Schoetterl-Glausch <[email protected]>
Fixes: 51098f0eb22e ("s390/cmpxchg: make loop condition for 1,2 byte cases precise")
Link: https://lore.kernel.org/all/[email protected]/
Signed-off-by: Heiko Carstens <[email protected]>
arch/s390/include/asm/uaccess.h
This page took 0.051166 seconds and 4 git commands to generate.