diff options
author | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2023-01-20 18:08:39 +0000 |
---|---|---|
committer | Jean-Sébastien Pédron <dumbbell@FreeBSD.org> | 2023-02-16 11:55:17 +0000 |
commit | 8045ace7fc3225be4779a542e12e2ffed6b7963b (patch) | |
tree | 4e5490219339a42b5cb3df525561c0382c8d3ddd | |
parent | 3037900f419825bc2193269f554ae80d2c5211c9 (diff) | |
download | src-8045ace7fc3225be4779a542e12e2ffed6b7963b.tar.gz src-8045ace7fc3225be4779a542e12e2ffed6b7963b.zip |
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
(cherry picked from commit 11aaefc9ca8537be0ea5f62a5927dd39a6109e4f)
-rw-r--r-- | sys/compat/linuxkpi/common/include/asm/smp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/asm/smp.h b/sys/compat/linuxkpi/common/include/asm/smp.h index c349edb16bf4..523e35d1562b 100644 --- a/sys/compat/linuxkpi/common/include/asm/smp.h +++ b/sys/compat/linuxkpi/common/include/asm/smp.h @@ -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() |