aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linuxkpi')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/device.h3
-rw-r--r--sys/compat/linuxkpi/common/include/linux/fs.h2
-rw-r--r--sys/compat/linuxkpi/common/include/linux/lockdep.h1
-rw-r--r--sys/compat/linuxkpi/common/include/linux/slab.h1
-rw-r--r--sys/compat/linuxkpi/common/include/linux/spinlock.h1
5 files changed, 8 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/device.h b/sys/compat/linuxkpi/common/include/linux/device.h
index 010eb2d316cd..233bbd230726 100644
--- a/sys/compat/linuxkpi/common/include/linux/device.h
+++ b/sys/compat/linuxkpi/common/include/linux/device.h
@@ -42,6 +42,9 @@
#include <linux/workqueue.h>
#include <linux/kdev_t.h>
#include <linux/backlight.h>
+#include <linux/pm.h>
+#include <linux/idr.h>
+#include <linux/ratelimit.h> /* via linux/dev_printk.h */
#include <asm/atomic.h>
#include <sys/bus.h>
diff --git a/sys/compat/linuxkpi/common/include/linux/fs.h b/sys/compat/linuxkpi/common/include/linux/fs.h
index f1892352d598..c1097748cbf4 100644
--- a/sys/compat/linuxkpi/common/include/linux/fs.h
+++ b/sys/compat/linuxkpi/common/include/linux/fs.h
@@ -43,6 +43,8 @@
#include <linux/semaphore.h>
#include <linux/spinlock.h>
#include <linux/dcache.h>
+#include <linux/capability.h>
+#include <linux/wait_bit.h>
struct module;
struct kiocb;
diff --git a/sys/compat/linuxkpi/common/include/linux/lockdep.h b/sys/compat/linuxkpi/common/include/linux/lockdep.h
index 8f9dfab1cd25..1d800f46908f 100644
--- a/sys/compat/linuxkpi/common/include/linux/lockdep.h
+++ b/sys/compat/linuxkpi/common/include/linux/lockdep.h
@@ -32,6 +32,7 @@
#ifndef _LINUX_LOCKDEP_H_
#define _LINUX_LOCKDEP_H_
+#include <sys/types.h>
#include <sys/lock.h>
struct lock_class_key {
diff --git a/sys/compat/linuxkpi/common/include/linux/slab.h b/sys/compat/linuxkpi/common/include/linux/slab.h
index ecd39d711eb4..56bb08c185e2 100644
--- a/sys/compat/linuxkpi/common/include/linux/slab.h
+++ b/sys/compat/linuxkpi/common/include/linux/slab.h
@@ -39,6 +39,7 @@
#include <linux/types.h>
#include <linux/gfp.h>
#include <linux/llist.h>
+#include <linux/overflow.h>
MALLOC_DECLARE(M_KMALLOC);
diff --git a/sys/compat/linuxkpi/common/include/linux/spinlock.h b/sys/compat/linuxkpi/common/include/linux/spinlock.h
index 56eaecfb4cd6..c020c7d1df6e 100644
--- a/sys/compat/linuxkpi/common/include/linux/spinlock.h
+++ b/sys/compat/linuxkpi/common/include/linux/spinlock.h
@@ -41,6 +41,7 @@
#include <linux/compiler.h>
#include <linux/rwlock.h>
#include <linux/bottom_half.h>
+#include <linux/lockdep.h>
typedef struct {
struct mtx m;