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