xref: /linux/arch/s390/include/asm/gmap_helpers.h (revision 02b072fd9fe1c5e16b7ae8da2f4ae31c8ef6f6a3)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *  Helper functions for KVM guest address space mapping code
4  *
5  *    Copyright IBM Corp. 2025
6  */
7 
8 #ifndef _ASM_S390_GMAP_HELPERS_H
9 #define _ASM_S390_GMAP_HELPERS_H
10 
11 void gmap_helper_zap_one_page(struct mm_struct *mm, unsigned long vmaddr);
12 void gmap_helper_discard(struct mm_struct *mm, unsigned long vmaddr, unsigned long end);
13 int gmap_helper_disable_cow_sharing(void);
14 
15 #endif /* _ASM_S390_GMAP_HELPERS_H */
16