Date: Sun, 26 Jul 2020 16:30:59 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r363565 - head/sys/compat/linuxkpi/common/include/linux Message-ID: <202007261630.06QGUxRi065135@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Sun Jul 26 16:30:59 2020 New Revision: 363565 URL: https://svnweb.freebsd.org/changeset/base/363565 Log: linuxkpi: Include hardirq.h in preempt.h and lockdep.h in hardirq.h Linux does the same, this avoids ifdef or extra includes in ported drivers. Reviewed by: emaste, hselasky Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D25702 Modified: head/sys/compat/linuxkpi/common/include/linux/hardirq.h head/sys/compat/linuxkpi/common/include/linux/preempt.h Modified: head/sys/compat/linuxkpi/common/include/linux/hardirq.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/hardirq.h Sun Jul 26 16:30:01 2020 (r363564) +++ head/sys/compat/linuxkpi/common/include/linux/hardirq.h Sun Jul 26 16:30:59 2020 (r363565) @@ -32,6 +32,7 @@ #define _LINUX_HARDIRQ_H_ #include <linux/types.h> +#include <linux/lockdep.h> #include <sys/param.h> #include <sys/bus.h> Modified: head/sys/compat/linuxkpi/common/include/linux/preempt.h ============================================================================== --- head/sys/compat/linuxkpi/common/include/linux/preempt.h Sun Jul 26 16:30:01 2020 (r363564) +++ head/sys/compat/linuxkpi/common/include/linux/preempt.h Sun Jul 26 16:30:59 2020 (r363565) @@ -29,6 +29,7 @@ #ifndef _LINUX_PREEMPT_H_ #define _LINUX_PREEMPT_H_ +#include <linux/hardirq.h> #include <linux/list.h> #define in_interrupt() \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202007261630.06QGUxRi065135>