1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_S390_MACCESS_H
3 #define __ASM_S390_MACCESS_H
5 #include <linux/types.h>
7 #define MEMCPY_REAL_SIZE PAGE_SIZE
8 #define MEMCPY_REAL_MASK PAGE_MASK
12 extern unsigned long __memcpy_real_area;
13 extern pte_t *memcpy_real_ptep;
14 size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count);
15 int memcpy_real(void *dest, unsigned long src, size_t count);
16 #ifdef CONFIG_CRASH_DUMP
17 int copy_oldmem_kernel(void *dst, unsigned long src, size_t count);
20 #endif /* __ASM_S390_MACCESS_H */