Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2023 11:56:16 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8045ace7fc32 - stable/13 - linuxkpi: Try to solve headers dependencies
Message-ID:  <202302161156.31GBuGHC055892@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302161156.31GBuGHC055892>