[PATCH] Add kernel.h to plist.h

From: Daniel Walker
Date: Tue Jan 10 2006 - 13:22:51 EST


On ARM plist compilation fails due to missing container_of()
So I resolved it by adding kernel.h to plist.h .

Signed-Off-By: Daniel Walker <dwalker@xxxxxxxxxx>

Index: linux-2.6.15/include/linux/plist.h
===================================================================
--- linux-2.6.15.orig/include/linux/plist.h
+++ linux-2.6.15/include/linux/plist.h
@@ -75,6 +75,7 @@
#ifndef _LINUX_PLIST_H_
#define _LINUX_PLIST_H_

+#include <linux/kernel.h>
#include <linux/list.h>

struct plist_head {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/