1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 3 * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved. 4 * Author: Xiao Yang <yangx.jy@cn.fujitsu.com> 5 */ 6 7 #ifndef LAPI_MLOCK2_H__ 8 # define LAPI_MLOCK2_H__ 9 10 #include <linux/mman.h> 11 12 #ifndef MLOCK_ONFAULT 13 # define MLOCK_ONFAULT 0x01 14 #endif 15 16 #endif /* LAPI_MLOCK2_H__ */ 17