Messages in this thread Patch in this message | | | From | Masahiro Yamada <> | Subject | [PATCH] list: include linux/kernel.h | Date | Mon, 25 Aug 2014 20:24:40 +0900 |
| |
linux/list.h uses container_of, therefore it depends on linux/kernel.h.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> ---
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
| |