]> www.infradead.org Git - users/jedix/linux-maple.git/commit
s390/uaccess: Make s390_kernel_write() usable for decompressor
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 16 Jul 2024 11:50:52 +0000 (13:50 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 23 Jul 2024 14:02:31 +0000 (16:02 +0200)
commit030f7951c5b293739301fb616add0f1d3fb46073
tree24901e1a41072014dc64325e1d2c30b4fbbf5ccb
parentace76fac944b06e46427e0406f315609f278ef91
s390/uaccess: Make s390_kernel_write() usable for decompressor

To avoid lots of ifdefs in C code make s390_kernel_write() usable for
the decompressor: simply use memcpy() for this case since there is no
write protection enabled that early.

Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Tested-by: Sven Schnelle <svens@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/include/asm/uaccess.h
arch/s390/mm/maccess.c