]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
sh: simplify get_arch_dma_ops
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Apr 2018 15:26:38 +0000 (17:26 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 2 Aug 2018 11:54:01 +0000 (13:54 +0200)
commitb2fcb677d4dd2aac3202365719733452b5512719
tree91071d203e84bd90a370e64c5f50e496d353ce61
parent4d8bde883bfba3e8dd3335f91b640e5a70ec0aa6
sh: simplify get_arch_dma_ops

Remove the indirection through the dma_ops variable, and just return
nommu_dma_ops directly from get_arch_dma_ops.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/sh/include/asm/dma-mapping.h
arch/sh/kernel/dma-nommu.c
arch/sh/mm/consistent.c
arch/sh/mm/init.c