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