aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linuxkpi/common/include/linux/sched.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2017-06-18 16:43:57 +0000
committerMark Johnston <markj@FreeBSD.org>2017-06-18 16:43:57 +0000
commit4eb18346d1cd36edd593cd9b49f6095549910ef2 (patch)
tree42010c286bb6492d31b179f2ded055c4911bedde /sys/compat/linuxkpi/common/include/linux/sched.h
parent1d9f01b18e383de633e4758dcf22cc6ecb16c7e3 (diff)
downloadsrc-4eb18346d1cd36edd593cd9b49f6095549910ef2.tar.gz
src-4eb18346d1cd36edd593cd9b49f6095549910ef2.zip
Avoid including list.h in LinuxKPI headers.
list.h includes a number of FreeBSD headers as a workaround for the LIST_HEAD name collision. To reduce pollution, avoid including list.h in commonly used headers when it is not explicitly needed. Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D11249
Notes
Notes: svn path=/head/; revision=320072
Diffstat (limited to 'sys/compat/linuxkpi/common/include/linux/sched.h')
-rw-r--r--sys/compat/linuxkpi/common/include/linux/sched.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/compat/linuxkpi/common/include/linux/sched.h b/sys/compat/linuxkpi/common/include/linux/sched.h
index 01d44a0ce1e7..da30db96d6b1 100644
--- a/sys/compat/linuxkpi/common/include/linux/sched.h
+++ b/sys/compat/linuxkpi/common/include/linux/sched.h
@@ -37,7 +37,6 @@
#include <sys/sched.h>
#include <sys/sleepqueue.h>
-#include <linux/list.h>
#include <linux/compat.h>
#include <linux/completion.h>
#include <linux/pid.h>