summaryrefslogtreecommitdiffstats
path: root/src/kernel/tests/include/lapi/mlock2.h
blob: fa2b2de07cf13cfed1de5a7470a0467bea29308a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
 * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
 */

#ifndef LAPI_MLOCK2_H__
# define LAPI_MLOCK2_H__

#include <linux/mman.h>

#ifndef MLOCK_ONFAULT
# define MLOCK_ONFAULT	0x01
#endif

#endif /* LAPI_MLOCK2_H__ */