Skip to contentSkip to conversation

Add kernel.h to plist.h

PATCH In review Daniel Walker 2 participants 2 messages Jan 10, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add kernel.h to plist.h

On ARM plist compilation fails due to missing container_of()
So I resolved it by adding kernel.h to plist.h .

include/linux/plist.h +1 -0
Index: linux-2.6.15/include/linux/plist.h
===================================================================
@@ -75,6 +75,7 @@
 #ifndef _LINUX_PLIST_H_
 #define _LINUX_PLIST_H_
 
+#include <linux/kernel.h>
 #include <linux/list.h>
 
 struct plist_head {