]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
sh: split arch/sh/mm/consistent.c
authorChristoph Hellwig <hch@lst.de>
Wed, 18 Jul 2018 13:55:20 +0000 (06:55 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 2 Aug 2018 11:54:15 +0000 (13:54 +0200)
commit46bcde94cd02283535cb719666399f1c4cfb8f22
treefadc33231f3e6a67d572885d180af95aa54e4a6c
parenta602915f5d0d9eff96a1d85b6f81e4921b52edfe
sh: split arch/sh/mm/consistent.c

Half of the file just contains platform device memory setup code which
is required for all builds, and half contains helpers for dma coherent
allocation, which is only needed if CONFIG_DMA_NONCOHERENT is enabled.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Yoshinori Sato <ysato@users.sourceforge.jp>
arch/sh/kernel/Makefile
arch/sh/kernel/dma-coherent.c [new file with mode: 0644]
arch/sh/mm/consistent.c