Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Sep 2022 15:10:35 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2dcfd0137966 - stable/13 - linuxkpi: Add few more include in linux/kernel.h
Message-ID:  <202209071510.287FAZMX026467@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=2dcfd01379662472a2a75d801dff1d655285455a

commit 2dcfd01379662472a2a75d801dff1d655285455a
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-08-09 13:48:13 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-09-07 15:09:05 +0000

    linuxkpi: Add few more include in linux/kernel.h
    
    Those are needed and also included in linux (via polution).
    
    Reviewed by:    bz
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D36111
    
    (cherry picked from commit 4b2cb13e916218f815ee5ecc8338635c6a4f261b)
---
 sys/compat/linuxkpi/common/include/linux/kernel.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/kernel.h b/sys/compat/linuxkpi/common/include/linux/kernel.h
index 4987c582f0f3..2450c18a5690 100644
--- a/sys/compat/linuxkpi/common/include/linux/kernel.h
+++ b/sys/compat/linuxkpi/common/include/linux/kernel.h
@@ -49,10 +49,13 @@
 #include <linux/errno.h>
 #include <linux/sched.h>
 #include <linux/types.h>
+#include <linux/typecheck.h>
 #include <linux/jiffies.h>
 #include <linux/log2.h>
 
 #include <asm/byteorder.h>
+#include <asm/cpufeature.h>
+#include <asm/processor.h>
 #include <asm/uaccess.h>
 
 #include <machine/stdarg.h>



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