Skip to content

Commit 23475ad

Browse files
author
Christoph Hellwig
committed
h8300: use dma-direct
Replace the bare-bones h8300 direct dma mapping implementation with the fully featured generic dma-direct one. Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent f73337f commit 23475ad

5 files changed

Lines changed: 3 additions & 79 deletions

File tree

‎arch/h8300/Kconfig‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ config H8300
2323
select HAVE_ARCH_KGDB
2424
select HAVE_ARCH_HASH
2525
select CPU_NO_EFFICIENT_FFS
26+
select DMA_DIRECT_OPS
2627

2728
config CPU_BIG_ENDIAN
2829
def_bool y

‎arch/h8300/include/asm/Kbuild‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ generic-y += delay.h
99
generic-y += device.h
1010
generic-y += div64.h
1111
generic-y += dma.h
12+
generic-y += dma-mapping.h
1213
generic-y += emergency-restart.h
1314
generic-y += exec.h
1415
generic-y += extable.h

‎arch/h8300/include/asm/dma-mapping.h‎

Lines changed: 0 additions & 12 deletions
This file was deleted.

‎arch/h8300/kernel/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ extra-y := vmlinux.lds
77

88
obj-y := process.o traps.o ptrace.o \
99
signal.o setup.o syscalls.o \
10-
irq.o entry.o dma.o
10+
irq.o entry.o
1111

1212
obj-$(CONFIG_ROMKERNEL) += head_rom.o
1313
obj-$(CONFIG_RAMKERNEL) += head_ram.o

‎arch/h8300/kernel/dma.c‎

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)