[PATCH] list: include linux/kernel.h

From: Masahiro Yamada
Date: Mon Aug 25 2014 - 07:26:09 EST


linux/list.h uses container_of, therefore it depends on
linux/kernel.h.

Signed-off-by: Masahiro Yamada <yamada.m@xxxxxxxxxxxxxxxx>
---

I am sending this patch to LKML because I could not find
the subsystem it should belong to.
I hope I am not doing wrong.


include/linux/list.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/include/linux/list.h b/include/linux/list.h
index cbbb96f..f33f831 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.
--
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/