summaryrefslogtreecommitdiff
path: root/arch/s390/include/asm/maccess.h
diff options
context:
space:
mode:
authorAlexander Gordeev <agordeev@linux.ibm.com>2022-12-11 10:18:57 +0300
committerHeiko Carstens <hca@linux.ibm.com>2023-01-13 16:15:06 +0300
commit8e9205d2a58989aff46000ef47021633146ca493 (patch)
tree8e3bbfa1a53d106fec806f8c85412133b47a0f9d /arch/s390/include/asm/maccess.h
parente0e0a87b4b85ac3bbf76327fc030e6134b657068 (diff)
downloadlinux-8e9205d2a58989aff46000ef47021633146ca493.tar.xz
s390/mm: allocate Real Memory Copy Area in decompressor
Move Real Memory Copy Area allocation to the decompressor. As result, memcpy_real() and memcpy_real_iter() movers become usable since the very moment the kernel starts. Reviewed-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/maccess.h')
-rw-r--r--arch/s390/include/asm/maccess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/include/asm/maccess.h b/arch/s390/include/asm/maccess.h
index c7fa838cf6b9..cfec3141fdba 100644
--- a/arch/s390/include/asm/maccess.h
+++ b/arch/s390/include/asm/maccess.h
@@ -7,7 +7,7 @@
struct iov_iter;
extern unsigned long __memcpy_real_area;
-void memcpy_real_init(void);
+extern pte_t *memcpy_real_ptep;
size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count);
int memcpy_real(void *dest, unsigned long src, size_t count);
#ifdef CONFIG_CRASH_DUMP