linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Maynard Johnson <maynardj@us.ibm.com>
To: cbe-oss-dev@ozlabs.org, linux-kernel@vger.kernel.org,
	linuxppc-dev@ozlabs.org
Subject: [Patch] Add necessary #includes to asm-powerpc/spu.h
Date: Fri, 08 Dec 2006 11:10:58 -0600	[thread overview]
Message-ID: <45799CA2.2090407@us.ibm.com> (raw)

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

             reply	other threads:[~2006-12-08 17:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-08 17:10 Maynard Johnson [this message]
2006-12-08 17:54 ` [Patch] Add necessary #includes to asm-powerpc/spu.h Arnd Bergmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45799CA2.2090407@us.ibm.com \
    --to=maynardj@us.ibm.com \
    --cc=cbe-oss-dev@ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).