diff options
author | Emmanuel Vadot <manu@FreeBSD.org> | 2020-07-26 16:30:59 +0000 |
---|---|---|
committer | Emmanuel Vadot <manu@FreeBSD.org> | 2020-07-26 16:30:59 +0000 |
commit | f12af2b387dfa1c7429e6a18959c32674cda3f79 (patch) | |
tree | ebf5b01b0ba7b0a248631c992ea1be5ac3423124 /sys/compat/linuxkpi/common/include/linux/hardirq.h | |
parent | 820272c40891be7440dcdbec20acfa69ad1c1720 (diff) | |
download | src-f12af2b387dfa1c7429e6a18959c32674cda3f79.tar.gz src-f12af2b387dfa1c7429e6a18959c32674cda3f79.zip |
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
Notes
Notes:
svn path=/head/; revision=363565
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/hardirq.h')
-rw-r--r-- | sys/compat/linuxkpi/common/include/linux/hardirq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/hardirq.h b/sys/compat/linuxkpi/common/include/linux/hardirq.h index b8e4c95360f8..d338e11c5a6f 100644 --- a/sys/compat/linuxkpi/common/include/linux/hardirq.h +++ b/sys/compat/linuxkpi/common/include/linux/hardirq.h @@ -32,6 +32,7 @@ #define _LINUX_HARDIRQ_H_ #include <linux/types.h> +#include <linux/lockdep.h> #include <sys/param.h> #include <sys/bus.h> |