xref: /freebsd/sys/compat/linuxkpi/common/include/linux/mman.h (revision 24c7853f39d0f68d92f97880df2428f9e78e165d)
1*24c7853fSJean-Sébastien Pédron /*-
2*24c7853fSJean-Sébastien Pédron  * SPDX-License-Identifier: BSD-2-Clause
3*24c7853fSJean-Sébastien Pédron  *
4*24c7853fSJean-Sébastien Pédron  * Copyright (c) 2022 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
5*24c7853fSJean-Sébastien Pédron  *
6*24c7853fSJean-Sébastien Pédron  * Redistribution and use in source and binary forms, with or without
7*24c7853fSJean-Sébastien Pédron  * modification, are permitted provided that the following conditions are
8*24c7853fSJean-Sébastien Pédron  * met:
9*24c7853fSJean-Sébastien Pédron  * 1. Redistributions of source code must retain the above copyright
10*24c7853fSJean-Sébastien Pédron  *    notice, this list of conditions and the following disclaimer.
11*24c7853fSJean-Sébastien Pédron  * 2. Redistributions in binary form must reproduce the above copyright
12*24c7853fSJean-Sébastien Pédron  *    notice, this list of conditions and the following disclaimer in
13*24c7853fSJean-Sébastien Pédron  *    the documentation and/or other materials provided with the
14*24c7853fSJean-Sébastien Pédron  *    distribution.
15*24c7853fSJean-Sébastien Pédron  *
16*24c7853fSJean-Sébastien Pédron  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17*24c7853fSJean-Sébastien Pédron  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18*24c7853fSJean-Sébastien Pédron  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19*24c7853fSJean-Sébastien Pédron  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20*24c7853fSJean-Sébastien Pédron  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21*24c7853fSJean-Sébastien Pédron  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22*24c7853fSJean-Sébastien Pédron  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23*24c7853fSJean-Sébastien Pédron  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24*24c7853fSJean-Sébastien Pédron  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25*24c7853fSJean-Sébastien Pédron  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26*24c7853fSJean-Sébastien Pédron  * SUCH DAMAGE.
27*24c7853fSJean-Sébastien Pédron  */
28*24c7853fSJean-Sébastien Pédron 
29*24c7853fSJean-Sébastien Pédron #ifndef _LINUX_MMAN_H
30*24c7853fSJean-Sébastien Pédron #define _LINUX_MMAN_H
31*24c7853fSJean-Sébastien Pédron 
32*24c7853fSJean-Sébastien Pédron /*
33*24c7853fSJean-Sébastien Pédron  * In Linux, <linux/mman.h> includes <linux/percpu_counter.h>, which includes
34*24c7853fSJean-Sébastien Pédron  * <linux/smp.h>.
35*24c7853fSJean-Sébastien Pédron  */
36*24c7853fSJean-Sébastien Pédron #include <linux/smp.h>
37*24c7853fSJean-Sébastien Pédron 
38*24c7853fSJean-Sébastien Pédron #endif /* _LINUX_MMAN_H */
39