mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
dma-mapping: remove the DMA_ATTR_WRITE_BARRIER flag
This flag is not implemented by any backend and only set by the ib_umem module in a single instance. Link: https://lore.kernel.org/r/20191113073214.9514-2-hch@lst.de Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
64c264872b
commit
7283fff8b5
3 changed files with 3 additions and 29 deletions
|
@ -15,11 +15,8 @@
|
|||
/**
|
||||
* List of possible attributes associated with a DMA mapping. The semantics
|
||||
* of each attribute should be defined in Documentation/DMA-attributes.txt.
|
||||
*
|
||||
* DMA_ATTR_WRITE_BARRIER: DMA to a memory region with this attribute
|
||||
* forces all pending DMA writes to complete.
|
||||
*/
|
||||
#define DMA_ATTR_WRITE_BARRIER (1UL << 0)
|
||||
|
||||
/*
|
||||
* DMA_ATTR_WEAK_ORDERING: Specifies that reads and writes to the mapping
|
||||
* may be weakly ordered, that is that reads and writes may pass each other.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue