linux-next: manual merge of the akpm-current tree with the arm64 tree
From: Stephen Rothwell
Date: Wed Jun 22 2016 - 00:54:47 EST
Hi Andrew,
Today's linux-next merge of the akpm-current tree got a conflict in:
arch/arm64/mm/dma-mapping.c
between commit:
b67a8b29df7e ("arm64: mm: only initialize swiotlb when necessary")
from the arm64 tree and commit:
29af59a63ef1 ("arm64: dma-mapping: constify attrs passed to internal functions")
from the akpm-current tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc arch/arm64/mm/dma-mapping.c
index 46a4157adc17,0ef620a34c4e..000000000000
--- a/arch/arm64/mm/dma-mapping.c
+++ b/arch/arm64/mm/dma-mapping.c
@@@ -30,9 -29,7 +30,9 @@@
#include <asm/cacheflush.h>
+static int swiotlb __read_mostly;
+
- static pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot,
+ static pgprot_t __get_dma_pgprot(const struct dma_attrs *attrs, pgprot_t prot,
bool coherent)
{
if (!coherent || dma_get_attr(DMA_ATTR_WRITE_COMBINE, attrs))