* [PATCH][v850] Make v850 dma-mapping.h header work when !CONFIG_PCI
@ 2004-04-07 9:09 Miles Bader
0 siblings, 0 replies; only message in thread
From: Miles Bader @ 2004-04-07 9:09 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel
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__ */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-07 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-07 9:09 [PATCH][v850] Make v850 dma-mapping.h header work when !CONFIG_PCI Miles Bader
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).