lkml.org 
[lkml]   [2014]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] list: include linux/kernel.h
Date
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


\
 
 \ /
  Last update: 2014-08-25 14:01    [W:0.036 / U:2.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site