From: miles@mcspd15.ucom.lsi.nec.co.jp (Miles Bader)
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH][v850] Make v850 dma-mapping.h header work when !CONFIG_PCI
Date: Wed, 7 Apr 2004 18:09:47 +0900 (JST) [thread overview]
Message-ID: <20040407090947.1244C131DA@mcspd15> (raw)
Linus, please apply.
[Is this something that should be done in <asm-generic/dma-mapping/h>?]
diff -ruN -X../cludes linux-2.6.5-uc0/include/asm-v850/dma-mapping.h linux-2.6.5-uc0-v850-20040407/include/asm-v850/dma-mapping.h
--- linux-2.6.5-uc0/include/asm-v850/dma-mapping.h 2002-12-24 15:01:24.000000000 +0900
+++ linux-2.6.5-uc0-v850-20040407/include/asm-v850/dma-mapping.h 2004-04-07 16:28:51.000000000 +0900
@@ -1 +1,12 @@
+#ifndef __V850_DMA_MAPPING_H__
+#define __V850_DMA_MAPPING_H__
+
+#include <linux/config.h>
+
+#ifdef CONFIG_PCI
#include <asm-generic/dma-mapping.h>
+#else
+#include <asm-generic/dma-mapping-broken.h>
+#endif
+
+#endif /* __V850_DMA_MAPPING_H__ */
reply other threads:[~2004-04-07 9:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20040407090947.1244C131DA@mcspd15 \
--to=miles@mcspd15.ucom.lsi.nec.co.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=miles@gnu.org \
--cc=torvalds@osdl.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
all inboxes | Powered by JetHome®