Messages in this thread | | | Subject | [PATCH][v850] Make v850 dma-mapping.h header work when !CONFIG_PCI | Date | Wed, 7 Apr 2004 18:09:47 +0900 (JST) | From | (Miles Bader) |
| |
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__ */ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |