[PATCH] m68k dma-mapping

From: Geert Uytterhoeven (geert@linux-m68k.org)
Date: Sat Jul 26 2003 - 09:52:00 EST


M68k: Fix SCSI breakage introduced in 2.5.74 by not including
<asm-generic/dma-mapping.h>, unless PCI is available.

--- linux-2.6.x/include/asm-m68k/dma-mapping.h Tue Dec 24 10:08:58 2002
+++ linux-m68k-2.6.x/include/asm-m68k/dma-mapping.h Tue Jul 22 19:07:38 2003
@@ -1 +1,10 @@
+#ifndef _M68K_DMA_MAPPING_H
+#define _M68K_DMA_MAPPING_H
+
+#include <linux/config.h>
+
+#ifdef CONFIG_PCI
 #include <asm-generic/dma-mapping.h>
+#endif
+
+#endif /* _M68K_DMA_MAPPING_H */

Gr{oetje,eeting}s,

                                                Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds - 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/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:28 EST