s390/uaccess: Inline __clear_user()

Rework __clear_user() similar to raw_copy_from_user() / raw_copy_to_user()
and inline the function saving the overhead of branches.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
Heiko Carstens 2025-02-11 20:19:30 +01:00 • committed by Vasily Gorbik
commit ee487b0120
2 changed files with 28 additions and 41 deletions