m68k: Sort out !CONFIG_MMU_SUN3 vs. CONFIG_HAS_DMA
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 27 Dec 2012 19:07:39 +0000 (20:07 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 9 Feb 2013 13:23:36 +0000 (14:23 +0100)
commit561839598e61f03c9175183ea066b2b7fa58ce85
tree8c394e534b106a6236964a3b067461a350a64bf8
parent243eeb78906e17a18faacb492facd3284993f220
m68k: Sort out !CONFIG_MMU_SUN3 vs. CONFIG_HAS_DMA

In two places, we check !CONFIG_MMU_SUN3 while we should check
CONFIG_HAS_DMA instead.
While fixing this, the check in <asm/dma-mapping.h> became redundant
(<linux/dma-mapping.h> already handles this case), so just remove it.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/include/asm/dma-mapping.h
arch/m68k/kernel/Makefile