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