]> git.baikalelectronics.ru Git - kernel.git/commit
s390/crash: move copy_to_user_real() to crash_dump.c
authorAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 19 Jul 2022 05:16:34 +0000 (07:16 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Wed, 20 Jul 2022 15:21:41 +0000 (17:21 +0200)
commitcdf2cf4a00f9ad0b50a0f2ce26bc1dfe6217d8a1
tree4e8f1f01c68943fd059b8d26836d853ffa6a5b0c
parent12a53f2fb83f2160369223e2e08dc888a75a1765
s390/crash: move copy_to_user_real() to crash_dump.c

Function copy_to_user_real() does not really belong to maccess.c.
It is only used for copying oldmem to user space, so let's move
it to the friends.

Acked-by: Heiko Carstens <hca@linux.ibm.com>
Tested-by: Alexander Egorenkov <egorenar@linux.ibm.com>
Link: https://lore.kernel.org/r/e8de968d40202d87caa09aef12e9c67ec23a1c1a.1658206891.git.agordeev@linux.ibm.com
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/include/asm/uaccess.h
arch/s390/kernel/crash_dump.c
arch/s390/mm/maccess.c