[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 3404fae..b95818a 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>