summaryrefslogtreecommitdiff
path: root/include/linux/list.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-10-13 15:51:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-10-14 02:18:13 +0200
commit8b21d9ca17ff8ed0dbf650f4162ee2d59bb5a881 (patch)
tree6cb7e92fa3f20f4b7f5e11b96d70bd38d5d016b3 /include/linux/list.h
parentaf9f1b3c7fa953d3df82a4548d8984de40ac9017 (diff)
list: include linux/kernel.h
linux/list.h uses container_of, therefore it depends on linux/kernel.h. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/list.h')
-rw-r--r--include/linux/list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/list.h b/include/linux/list.h
index cbbb96fcead9..f33f831eb3c8 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -5,6 +5,7 @@
#include <linux/stddef.h>
#include <linux/poison.h>
#include <linux/const.h>
+#include <linux/kernel.h>
/*
* Simple doubly linked list implementation.