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