xref: /openbmc/linux/arch/s390/include/asm/maccess.h (revision f4356947)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_S390_MACCESS_H
3 #define __ASM_S390_MACCESS_H
4 
5 #include <linux/types.h>
6 
7 struct iov_iter;
8 
9 extern unsigned long __memcpy_real_area;
10 extern pte_t *memcpy_real_ptep;
11 size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count);
12 int memcpy_real(void *dest, unsigned long src, size_t count);
13 #ifdef CONFIG_CRASH_DUMP
14 int copy_oldmem_kernel(void *dst, unsigned long src, size_t count);
15 #endif
16 
17 #endif /* __ASM_S390_MACCESS_H */
18