xref: /freebsd/sys/compat/linuxkpi/common/include/linux/cpufeature.h (revision c8c32d3e336df2bdad254ed8019f8ef976ec9bf4)
1cd8c2e01SJean-Sébastien Pédron /*-
2cd8c2e01SJean-Sébastien Pédron  * Copyright (c) 2025 The FreeBSD Foundation
3cd8c2e01SJean-Sébastien Pédron  * Copyright (c) 2025 Jean-Sébastien Pédron
4cd8c2e01SJean-Sébastien Pédron  *
5cd8c2e01SJean-Sébastien Pédron  * This software was developed by Jean-Sébastien Pédron under sponsorship
6cd8c2e01SJean-Sébastien Pédron  * from the FreeBSD Foundation.
7cd8c2e01SJean-Sébastien Pédron  *
8cd8c2e01SJean-Sébastien Pédron  * Redistribution and use in source and binary forms, with or without
9cd8c2e01SJean-Sébastien Pédron  * modification, are permitted provided that the following conditions
10cd8c2e01SJean-Sébastien Pédron  * are met:
11cd8c2e01SJean-Sébastien Pédron  * 1. Redistributions of source code must retain the above copyright
12cd8c2e01SJean-Sébastien Pédron  *    notice, this list of conditions and the following disclaimer.
13cd8c2e01SJean-Sébastien Pédron  * 2. Redistributions in binary form must reproduce the above copyright
14cd8c2e01SJean-Sébastien Pédron  *    notice, this list of conditions and the following disclaimer in the
15cd8c2e01SJean-Sébastien Pédron  *    documentation and/or other materials provided with the distribution.
16cd8c2e01SJean-Sébastien Pédron  *
17cd8c2e01SJean-Sébastien Pédron  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
18cd8c2e01SJean-Sébastien Pédron  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19cd8c2e01SJean-Sébastien Pédron  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20cd8c2e01SJean-Sébastien Pédron  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
21cd8c2e01SJean-Sébastien Pédron  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22cd8c2e01SJean-Sébastien Pédron  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23cd8c2e01SJean-Sébastien Pédron  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24cd8c2e01SJean-Sébastien Pédron  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25cd8c2e01SJean-Sébastien Pédron  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26cd8c2e01SJean-Sébastien Pédron  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27cd8c2e01SJean-Sébastien Pédron  * SUCH DAMAGE.
28cd8c2e01SJean-Sébastien Pédron  */
29cd8c2e01SJean-Sébastien Pédron 
30cd8c2e01SJean-Sébastien Pédron #ifndef	_LINUXKPI_LINUX_CPUFEATURE_H_
31cd8c2e01SJean-Sébastien Pédron #define	_LINUXKPI_LINUX_CPUFEATURE_H_
32cd8c2e01SJean-Sébastien Pédron 
33*c8c32d3eSJean-Sébastien Pédron /*
34*c8c32d3eSJean-Sébastien Pédron  * Linux includes the following header. We don't have it on FreeBSD yet, so
35*c8c32d3eSJean-Sébastien Pédron  * let's comment this include for now. It is still referenced here because
36*c8c32d3eSJean-Sébastien Pédron  * sometimes, consumers of headers rely voluntarily or not on the namespace
37*c8c32d3eSJean-Sébastien Pédron  * pollution.
38*c8c32d3eSJean-Sébastien Pédron  */
39*c8c32d3eSJean-Sébastien Pédron /* #include <linux/init.h> */
40cd8c2e01SJean-Sébastien Pédron #include <linux/mod_devicetable.h>
41cd8c2e01SJean-Sébastien Pédron #include <asm/cpufeature.h>
42cd8c2e01SJean-Sébastien Pédron 
43cd8c2e01SJean-Sébastien Pédron #endif /* _LINUXKPI_LINUX_CPUFEATURE_H_ */
44