diff options
author | Christoph Hellwig <hch@lst.de> | 2019-06-03 08:55:13 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-09-04 11:13:19 +0200 |
commit | fe9041c245196c6c61091ccc2c74b73ab9a5fc50 (patch) | |
tree | 0af220ef01c93e8f1fc70e2681acdb7b204445df /arch/arm/mm/mm.h | |
parent | dma-mapping: provide a better default ->get_required_mask (diff) | |
download | linux-fe9041c245196c6c61091ccc2c74b73ab9a5fc50.tar.xz linux-fe9041c245196c6c61091ccc2c74b73ab9a5fc50.zip |
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>
Diffstat (limited to 'arch/arm/mm/mm.h')
-rw-r--r-- | arch/arm/mm/mm.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mm/mm.h b/arch/arm/mm/mm.h index 941356d95a67..88c121ac14b3 100644 --- a/arch/arm/mm/mm.h +++ b/arch/arm/mm/mm.h @@ -70,9 +70,6 @@ extern void __flush_dcache_page(struct address_space *mapping, struct page *page #define VM_ARM_MTYPE(mt) ((mt) << 20) #define VM_ARM_MTYPE_MASK (0x1f << 20) -/* consistent regions used by dma_alloc_attrs() */ -#define VM_ARM_DMA_CONSISTENT 0x20000000 - struct static_vm { struct vm_struct vm; |