MIPS: Kludge IP27 build for 2.6.39.
authorRalf Baechle <ralf@linux-mips.org>
Wed, 18 May 2011 12:14:36 +0000 (13:14 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 18 May 2011 13:18:27 +0000 (14:18 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/dma-mapping.h

index 655f849bd08d8767e81f6846ce205ce40e487980..7aa37ddfca4ba59b25603183a1d5bca23099fa9c 100644 (file)
@@ -5,7 +5,9 @@
 #include <asm/cache.h>
 #include <asm-generic/dma-coherent.h>
 
+#ifndef CONFIG_SGI_IP27        /* Kludge to fix 2.6.39 build for IP27 */
 #include <dma-coherence.h>
+#endif
 
 extern struct dma_map_ops *mips_dma_map_ops;