12f0e8aaeSAlexander Gordeev /* SPDX-License-Identifier: GPL-2.0 */ 22f0e8aaeSAlexander Gordeev #ifndef __ASM_S390_MACCESS_H 32f0e8aaeSAlexander Gordeev #define __ASM_S390_MACCESS_H 42f0e8aaeSAlexander Gordeev 52f0e8aaeSAlexander Gordeev #include <linux/types.h> 62f0e8aaeSAlexander Gordeev 72f0e8aaeSAlexander Gordeev struct iov_iter; 82f0e8aaeSAlexander Gordeev 92f0e8aaeSAlexander Gordeev extern unsigned long __memcpy_real_area; 102f0e8aaeSAlexander Gordeev void memcpy_real_init(void); 112f0e8aaeSAlexander Gordeev size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count); 122f0e8aaeSAlexander Gordeev int memcpy_real(void *dest, unsigned long src, size_t count); 13*fba07cd4SAlexander Gordeev #ifdef CONFIG_CRASH_DUMP 14*fba07cd4SAlexander Gordeev int copy_oldmem_kernel(void *dst, unsigned long src, size_t count); 15*fba07cd4SAlexander Gordeev #endif 162f0e8aaeSAlexander Gordeev 172f0e8aaeSAlexander Gordeev #endif /* __ASM_S390_MACCESS_H */ 18