Commit b44597906e03d5e2b467c17a3b73585596c0d7be

Authored by Thomas Gleixner
Committed by Linus Torvalds
1 parent 980a01c9bf

[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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

include/linux/plist.h
... ... @@ -73,6 +73,7 @@
73 73 #ifndef _LINUX_PLIST_H_
74 74 #define _LINUX_PLIST_H_
75 75  
  76 +#include <linux/kernel.h>
76 77 #include <linux/list.h>
77 78 #include <linux/spinlock_types.h>
78 79