git: 11aaefc9ca85 - main - linuxkpi: Try to solve headers dependencies

From: Jean-Sébastien Pédron <dumbbell_at_FreeBSD.org>
Date: Mon, 30 Jan 2023 22:17:42 UTC
The branch main has been updated by dumbbell (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=11aaefc9ca8537be0ea5f62a5927dd39a6109e4f

commit 11aaefc9ca8537be0ea5f62a5927dd39a6109e4f
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-01-20 18:08:39 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-01-30 22:09:52 +0000

    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
---
 sys/compat/linuxkpi/common/include/asm/smp.h | 4 ++++
 1 file changed, 4 insertions(+)

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()