git: 8045ace7fc32 - stable/13 - linuxkpi: Try to solve headers dependencies
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Feb 2023 11:56:16 UTC
The branch stable/13 has been updated by dumbbell (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=8045ace7fc3225be4779a542e12e2ffed6b7963b
commit 8045ace7fc3225be4779a542e12e2ffed6b7963b
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-02-16 11:55:17 +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
(cherry picked from commit 11aaefc9ca8537be0ea5f62a5927dd39a6109e4f)
---
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()