linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [Patch] Add necessary #includes to asm-powerpc/spu.h
@ 2006-12-08 17:10 Maynard Johnson
  2006-12-08 17:54 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Maynard Johnson @ 2006-12-08 17:10 UTC (permalink / raw)
  To: cbe-oss-dev, linux-kernel, linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: spu-h-includes.patch --]
[-- Type: text/x-diff, Size: 857 bytes --]

Subject: Add necessary #includes to asm-powerpc/spu.h.

From: Maynard Johnson <maynardj@us.ibm.com>

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 <mpjohn@us.ibm.com>

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>
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-08 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-08 17:10 [Patch] Add necessary #includes to asm-powerpc/spu.h Maynard Johnson
2006-12-08 17:54 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).