xref: /freebsd/sys/compat/linuxkpi/common/include/linux/numa.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
13ee75811SEmmanuel Vadot /*-
23ee75811SEmmanuel Vadot  * Copyright (c) 2020 The FreeBSD Foundation
33ee75811SEmmanuel Vadot  *
43ee75811SEmmanuel Vadot  * This software was developed by Emmanuel Vadot under sponsorship
53ee75811SEmmanuel Vadot  * from the FreeBSD Foundation.
63ee75811SEmmanuel Vadot  *
73ee75811SEmmanuel Vadot  * Redistribution and use in source and binary forms, with or without
83ee75811SEmmanuel Vadot  * modification, are permitted provided that the following conditions
93ee75811SEmmanuel Vadot  * are met:
103ee75811SEmmanuel Vadot  * 1. Redistributions of source code must retain the above copyright
113ee75811SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer.
123ee75811SEmmanuel Vadot  * 2. Redistributions in binary form must reproduce the above copyright
133ee75811SEmmanuel Vadot  *    notice, this list of conditions and the following disclaimer in the
143ee75811SEmmanuel Vadot  *    documentation and/or other materials provided with the distribution.
153ee75811SEmmanuel Vadot  *
163ee75811SEmmanuel Vadot  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
173ee75811SEmmanuel Vadot  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
183ee75811SEmmanuel Vadot  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
193ee75811SEmmanuel Vadot  * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
203ee75811SEmmanuel Vadot  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
213ee75811SEmmanuel Vadot  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
223ee75811SEmmanuel Vadot  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
233ee75811SEmmanuel Vadot  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
243ee75811SEmmanuel Vadot  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
253ee75811SEmmanuel Vadot  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
263ee75811SEmmanuel Vadot  * SUCH DAMAGE.
273ee75811SEmmanuel Vadot  */
283ee75811SEmmanuel Vadot 
29*307f78f3SVladimir Kondratyev #ifndef _LINUXKPI_LINUX_NUMA_H_
30*307f78f3SVladimir Kondratyev #define	_LINUXKPI_LINUX_NUMA_H_
313ee75811SEmmanuel Vadot 
323ee75811SEmmanuel Vadot #define	NUMA_NO_NODE	-1
333ee75811SEmmanuel Vadot 
34*307f78f3SVladimir Kondratyev #endif /* _LINUXKPI_LINUX_NUMA_H_ */
35