powerpc/powernv: Use __raw_[rm_]writeq_be() in npu-dma.c
authorMichael Ellerman <mpe@ellerman.id.au>
Mon, 14 May 2018 12:50:33 +0000 (22:50 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 May 2018 12:00:04 +0000 (22:00 +1000)
commitc786cf767b3c327cc095c36617059c932c2f43bd
tree053ab6a602a1bcc3069fb54ca71ec19f2b5f95a3
parent001ff2ee137de5fb7a099a36f7b29488114964fb
powerpc/powernv: Use __raw_[rm_]writeq_be() in npu-dma.c

This allows us to squash some sparse warnings and also avoids having
to do explicity endian conversions in the code.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
arch/powerpc/platforms/powernv/npu-dma.c