[PATCH] list: include linux/kernel.h
Mark-PK Tsai
mark-pk.tsai at mediatek.com
Wed Aug 25 05:58:52 CEST 2021
linux/list.h uses container_of, therefore it depends on linux/kernel.h.
Sync from below linux commit:
commit 8b21d9ca17ff8 ("list: include linux/kernel.h")
Signed-off-by: Mark-PK Tsai <mark-pk.tsai at mediatek.com>
Cc: YJ Chiang <yj.chiang at mediatek.com>
---
include/linux/list.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/list.h b/include/linux/list.h
index f62afa092c..5320c04bf3 100644
--- a/include/linux/list.h
+++ b/include/linux/list.h
@@ -3,6 +3,7 @@
#include <linux/stddef.h>
#include <linux/poison.h>
+#include <linux/kernel.h>
#ifndef ARCH_HAS_PREFETCH
#define ARCH_HAS_PREFETCH
--
2.18.0
More information about the U-Boot
mailing list