Subject: Add necessary #includes to asm-powerpc/spu.h.
From: Maynard Johnson <[email protected]>
This patch adds a couple of #includes to asm-powerpc/spu.h to
prevent compilation warnings that can occur when spu.h is
included from a source file where fs.h and notifier.h have
not been included already.
Signed-off-by: Maynard Johnson <[email protected]>
Index: linux-2.6.19-rc6-arnd1+patches/include/asm-powerpc/spu.h
===================================================================
--- linux-2.6.19-rc6-arnd1+patches.orig/include/asm-powerpc/spu.h 2006-12-04 10:56:17.406636032 -0600
+++ linux-2.6.19-rc6-arnd1+patches/include/asm-powerpc/spu.h 2006-12-08 10:38:10.069679312 -0600
@@ -24,6 +24,8 @@
#define _SPU_H
#ifdef __KERNEL__
+#include <linux/fs.h>
+#include <linux/notifier.h>
#include <linux/workqueue.h>
#include <linux/sysdev.h>
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]