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#define MEMCPY_REAL_SIZE PAGE_SIZE 8#define MEMCPY_REAL_MASK PAGE_MASK 9 10struct iov_iter; 11 12extern unsigned long __memcpy_real_area; 13extern pte_t *memcpy_real_ptep; 14size_t memcpy_real_iter(struct iov_iter *iter, unsigned long src, size_t count); 15int memcpy_real(void *dest, unsigned long src, size_t count); 16#ifdef CONFIG_CRASH_DUMP 17int copy_oldmem_kernel(void *dst, unsigned long src, size_t count); 18#endif 19 20#endif /* __ASM_S390_MACCESS_H */ 21