xref: /dflybsd-src/sys/dev/drm/include/linux/mmzone.h (revision e2a4a6b10bbe56932d54ec1764aad5be0fc49c6f)
1f0bba3d1SFrançois Tigeot /*
2*e2a4a6b1SFrançois Tigeot  * Copyright (c) 2018-2020 François Tigeot <ftigeot@wolfpond.org>
3f0bba3d1SFrançois Tigeot  * All rights reserved.
4f0bba3d1SFrançois Tigeot  *
5f0bba3d1SFrançois Tigeot  * Redistribution and use in source and binary forms, with or without
6f0bba3d1SFrançois Tigeot  * modification, are permitted provided that the following conditions
7f0bba3d1SFrançois Tigeot  * are met:
8f0bba3d1SFrançois Tigeot  * 1. Redistributions of source code must retain the above copyright
9f0bba3d1SFrançois Tigeot  *    notice unmodified, this list of conditions, and the following
10f0bba3d1SFrançois Tigeot  *    disclaimer.
11f0bba3d1SFrançois Tigeot  * 2. Redistributions in binary form must reproduce the above copyright
12f0bba3d1SFrançois Tigeot  *    notice, this list of conditions and the following disclaimer in the
13f0bba3d1SFrançois Tigeot  *    documentation and/or other materials provided with the distribution.
14f0bba3d1SFrançois Tigeot  *
15f0bba3d1SFrançois Tigeot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16f0bba3d1SFrançois Tigeot  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17f0bba3d1SFrançois Tigeot  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18f0bba3d1SFrançois Tigeot  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19f0bba3d1SFrançois Tigeot  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20f0bba3d1SFrançois Tigeot  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21f0bba3d1SFrançois Tigeot  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22f0bba3d1SFrançois Tigeot  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23f0bba3d1SFrançois Tigeot  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24f0bba3d1SFrançois Tigeot  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25f0bba3d1SFrançois Tigeot  */
26f0bba3d1SFrançois Tigeot 
27f0bba3d1SFrançois Tigeot #ifndef _LINUX_MMZONE_H_
28f0bba3d1SFrançois Tigeot #define _LINUX_MMZONE_H_
29f0bba3d1SFrançois Tigeot 
30f0bba3d1SFrançois Tigeot #include <linux/spinlock.h>
31f0bba3d1SFrançois Tigeot #include <linux/list.h>
32f0bba3d1SFrançois Tigeot #include <linux/wait.h>
33f0bba3d1SFrançois Tigeot #include <linux/bitops.h>
34f0bba3d1SFrançois Tigeot #include <linux/cache.h>
35f0bba3d1SFrançois Tigeot #include <linux/threads.h>
36f0bba3d1SFrançois Tigeot #include <linux/init.h>
37f0bba3d1SFrançois Tigeot #include <linux/seqlock.h>
38f0bba3d1SFrançois Tigeot #include <linux/atomic.h>
39f0bba3d1SFrançois Tigeot #include <asm/page.h>
40f0bba3d1SFrançois Tigeot 
41f0bba3d1SFrançois Tigeot struct page;
42f0bba3d1SFrançois Tigeot 
43*e2a4a6b1SFrançois Tigeot #define MAX_ORDER	11
44*e2a4a6b1SFrançois Tigeot 
45f0bba3d1SFrançois Tigeot #endif	/* _LINUX_MMZONE_H_ */
46