]> git.baikalelectronics.ru Git - kernel.git/commit
m68k: merge the MMU and non-MMU versions of the arch dma code
authorGreg Ungerer <gerg@uclinux.org>
Wed, 2 May 2012 07:06:22 +0000 (17:06 +1000)
committerGreg Ungerer <gerg@uclinux.org>
Sun, 20 May 2012 11:22:56 +0000 (21:22 +1000)
commitb92c68af86439b9fe7c9233b1001448cd04b8304
tree86e7db78f80f455be6855edc2048e142411f2a78
parent5f0dcd91eb65d8ab7d7b5f7a155c8d9f263ddc5c
m68k: merge the MMU and non-MMU versions of the arch dma code

The majority of the m68k architecture dma code is the same, so merge the
current separated files dma_no.c and dma_mm.c back into a single dma.c

The main alloc and free routines are a little different, so we keep a
single #ifdef based on CONFIG_MMU for them. All the other support functions
are now identical.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
arch/m68k/kernel/dma.c
arch/m68k/kernel/dma_mm.c [deleted file]
arch/m68k/kernel/dma_no.c [deleted file]