]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d1f83ac6b969f6a6c6d813f831216e0bccaa07c
tree053ab6a602a1bcc3069fb54ca71ec19f2b5f95a3
parentf92c87a76d82e2a7e8074890b40e7d6804a10d76
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