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