summaryrefslogtreecommitdiffstats
path: root/include/linux/plist.h
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/linux/plist.h
parent980a01c9bfb090cb8a991e39e56ac379c30c61b8 (diff)
downloadop-kernel-dev-b44597906e03d5e2b467c17a3b73585596c0d7be.zip
op-kernel-dev-b44597906e03d5e2b467c17a3b73585596c0d7be.tar.gz
[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/linux/plist.h')
-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 3404fae..b95818a 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>
OpenPOWER on IntegriCloud