]> err.no Git - linux-2.6/commitdiff
[PATCH] Fix plist include dependency
authorThomas Gleixner <tglx@linutronix.de>
Wed, 28 Jun 2006 15:14:07 +0000 (17:14 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 28 Jun 2006 22:54:27 +0000 (15:54 -0700)
plist.h uses container_of, which is defined in kernel.h.
Include kernel.h in plist.h as the kernel.h include does not longer
happen automatically on all architectures.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/plist.h

index 3404faef542c67a0275a408949a3957acc5f86e2..b95818a037ad1a5f93ba2545c7f5cf97e423916b 100644 (file)
@@ -73,6 +73,7 @@
 #ifndef _LINUX_PLIST_H_
 #define _LINUX_PLIST_H_
 
+#include <linux/kernel.h>
 #include <linux/list.h>
 #include <linux/spinlock_types.h>