1
0
Fork 0

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>
hifive-unleashed-5.1
Masahiro Yamada 2014-10-13 15:51:30 -07:00 committed by Linus Torvalds
parent af9f1b3c7f
commit 8b21d9ca17
1 changed files with 1 additions and 0 deletions

View File

@ -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.