Re: [PATCH v2 09/10] s390/uaccess: Move s390_kernel_write() to asm/text-patching.h

From: Ilya Leoshkevich

Date: Wed Oct 28 2026 - 08:30:55 EST




On 10/27/26 15:30, Heiko Carstens wrote:
s390_kernel_write() is a text-patching primitive, not a user access
function. Move its declaration and the inline wrapper from uaccess.h
to text-patching.h.

Signed-off-by: Heiko Carstens <hca@xxxxxxxxxxxxx>
---
arch/s390/include/asm/runtime-const.h | 2 +-
arch/s390/include/asm/text-patching.h | 11 +++++++++++
arch/s390/include/asm/uaccess.h | 9 ---------
arch/s390/kernel/alternative.c | 2 +-
arch/s390/kernel/jump_label.c | 1 -
arch/s390/kernel/module.c | 1 +
arch/s390/kernel/nospec-branch.c | 2 ++
arch/s390/kernel/stackprotector.c | 2 +-
arch/s390/mm/maccess.c | 1 +
9 files changed, 18 insertions(+), 13 deletions(-)

Reviewed-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>