linuxkpi: Try to solve headers dependencies

I'm sure I got it wrong but at least the DRM drivers compile.

Reviewed by:	manu
Approved by:	manu
Differential Revision:	https://reviews.freebsd.org/D38157
This commit is contained in:
Jean-Sébastien Pédron 2023-01-20 19:08:39 +01:00
parent 29d0c85c86
commit 11aaefc9ca
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC

View File

@ -29,6 +29,10 @@
#ifndef _LINUXKPI_ASM_SMP_H_
#define _LINUXKPI_ASM_SMP_H_
#include <linux/jump_label.h>
#include <linux/preempt.h>
#include <asm/fpu/api.h>
#if defined(__i386__) || defined(__amd64__)
#define wbinvd_on_all_cpus() linux_wbinvd_on_all_cpus()