[PATCH] Fix plist include dependency

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>
This commit is contained in:
Thomas Gleixner 2006-06-28 17:14:07 +02:00 committed by Linus Torvalds
parent 980a01c9bf
commit b44597906e
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@
#ifndef _LINUX_PLIST_H_ #ifndef _LINUX_PLIST_H_
#define _LINUX_PLIST_H_ #define _LINUX_PLIST_H_
#include <linux/kernel.h>
#include <linux/list.h> #include <linux/list.h>
#include <linux/spinlock_types.h> #include <linux/spinlock_types.h>