]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita71c9a15972f9560ffc216b9aa32e697ff8dd428
tree8c394e534b106a6236964a3b067461a350a64bf8
parentbb64ce059b5602d18184f593868f65dfbac5da53
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