summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-02-20 23:27:00 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-20 23:27:00 +0100
commite177bb587ea0fade3d9a86f6667da8d89bea3607 (patch)
treedaebf1786d014cc3182137c76e02381d0aceb245 /arch/m68k/include
parentMerge tag 'edac_3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp (diff)
parentm68k: Sort out !CONFIG_MMU_SUN3 vs. CONFIG_HAS_DMA (diff)
downloadlinux-e177bb587ea0fade3d9a86f6667da8d89bea3607.tar.xz
linux-e177bb587ea0fade3d9a86f6667da8d89bea3607.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k
Pull m68k update from Geert Uytterhoeven. * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k: m68k: Sort out !CONFIG_MMU_SUN3 vs. CONFIG_HAS_DMA swim: Add missing spinlock init
Diffstat (limited to 'arch/m68k/include')
-rw-r--r--arch/m68k/include/asm/dma-mapping.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/m68k/include/asm/dma-mapping.h b/arch/m68k/include/asm/dma-mapping.h
index 292805f0762e..05aa53594d49 100644
--- a/arch/m68k/include/asm/dma-mapping.h
+++ b/arch/m68k/include/asm/dma-mapping.h
@@ -5,7 +5,6 @@
struct scatterlist;
-#ifndef CONFIG_MMU_SUN3
static inline int dma_supported(struct device *dev, u64 mask)
{
return 1;
@@ -111,10 +110,6 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t handle)
return 0;
}
-#else
-#include <asm-generic/dma-mapping-broken.h>
-#endif
-
/* drivers/base/dma-mapping.c */
extern int dma_common_mmap(struct device *dev, struct vm_area_struct *vma,
void *cpu_addr, dma_addr_t dma_addr, size_t size);