]> asedeno.scripts.mit.edu Git - linux.git/commit
vmalloc: lift the arm flag for coherent mappings to common code
authorChristoph Hellwig <hch@lst.de>
Mon, 3 Jun 2019 06:55:13 +0000 (08:55 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 4 Sep 2019 09:13:19 +0000 (11:13 +0200)
commitfe9041c245196c6c61091ccc2c74b73ab9a5fc50
tree0af220ef01c93e8f1fc70e2681acdb7b204445df
parent249baa54790171438524ba97e8e0485dd6aa2762
vmalloc: lift the arm flag for coherent mappings to common code

The arm architecture had a VM_ARM_DMA_CONSISTENT flag to mark DMA
coherent remapping for a while.  Lift this flag to common code so
that we can use it generically.  We also check it in the only place
VM_USERMAP is directly check so that we can entirely replace that
flag as well (although I'm not even sure why we'd want to allow
remapping DMA appings, but I'd rather not change behavior).

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/arm/mm/dma-mapping.c
arch/arm/mm/mm.h
include/linux/vmalloc.h
mm/vmalloc.c