xref: /src/sys/compat/linuxkpi/common/include/linux/mman.h (revision 24c7853f39d0f68d92f97880df2428f9e78e165d)
124c7853fSJean-Sébastien Pédron /*-
224c7853fSJean-Sébastien Pédron  * SPDX-License-Identifier: BSD-2-Clause
324c7853fSJean-Sébastien Pédron  *
424c7853fSJean-Sébastien Pédron  * Copyright (c) 2022 Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
524c7853fSJean-Sébastien Pédron  *
624c7853fSJean-Sébastien Pédron  * Redistribution and use in source and binary forms, with or without
724c7853fSJean-Sébastien Pédron  * modification, are permitted provided that the following conditions are
824c7853fSJean-Sébastien Pédron  * met:
924c7853fSJean-Sébastien Pédron  * 1. Redistributions of source code must retain the above copyright
1024c7853fSJean-Sébastien Pédron  *    notice, this list of conditions and the following disclaimer.
1124c7853fSJean-Sébastien Pédron  * 2. Redistributions in binary form must reproduce the above copyright
1224c7853fSJean-Sébastien Pédron  *    notice, this list of conditions and the following disclaimer in
1324c7853fSJean-Sébastien Pédron  *    the documentation and/or other materials provided with the
1424c7853fSJean-Sébastien Pédron  *    distribution.
1524c7853fSJean-Sébastien Pédron  *
1624c7853fSJean-Sébastien Pédron  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1724c7853fSJean-Sébastien Pédron  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1824c7853fSJean-Sébastien Pédron  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1924c7853fSJean-Sébastien Pédron  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
2024c7853fSJean-Sébastien Pédron  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2124c7853fSJean-Sébastien Pédron  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2224c7853fSJean-Sébastien Pédron  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2324c7853fSJean-Sébastien Pédron  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2424c7853fSJean-Sébastien Pédron  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2524c7853fSJean-Sébastien Pédron  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2624c7853fSJean-Sébastien Pédron  * SUCH DAMAGE.
2724c7853fSJean-Sébastien Pédron  */
2824c7853fSJean-Sébastien Pédron 
2924c7853fSJean-Sébastien Pédron #ifndef _LINUX_MMAN_H
3024c7853fSJean-Sébastien Pédron #define _LINUX_MMAN_H
3124c7853fSJean-Sébastien Pédron 
3224c7853fSJean-Sébastien Pédron /*
3324c7853fSJean-Sébastien Pédron  * In Linux, <linux/mman.h> includes <linux/percpu_counter.h>, which includes
3424c7853fSJean-Sébastien Pédron  * <linux/smp.h>.
3524c7853fSJean-Sébastien Pédron  */
3624c7853fSJean-Sébastien Pédron #include <linux/smp.h>
3724c7853fSJean-Sébastien Pédron 
3824c7853fSJean-Sébastien Pédron #endif /* _LINUX_MMAN_H */
39