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