aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2006-06-28 17:14:07 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-28 15:54:27 -0700
commitb44597906e03d5e2b467c17a3b73585596c0d7be (patch)
tree6628a60c3e168b871880d6fd30b5e283f09f4a3f /include
parent980a01c9bfb090cb8a991e39e56ac379c30c61b8 (diff)
[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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/plist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/plist.h b/include/linux/plist.h
index 3404faef542..b95818a037a 100644
--- a/include/linux/plist.h
+++ b/include/linux/plist.h
@@ -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>