]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/ps3: replace __ioremap() by ioremap_prot()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 20 Aug 2019 14:07:10 +0000 (14:07 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 27 Aug 2019 03:03:33 +0000 (13:03 +1000)
commit73fde9fc113f10ac87fd3f130bc7297c6812963b
tree1fa0c1498f868e892fd979ea9e1c4155dac21fd7
parent1d730208eac4859d4ac4a8b1ac1cdf28eacc47e4
powerpc/ps3: replace __ioremap() by ioremap_prot()

__ioremap() is similar to ioremap_prot() except that ioremap_prot()
does a few sanity changes in addition.

The flags used by PS3 are not impacted by those changes so for
PS3 both functions are equivalent.

At the same time, drop parts of the comment that have been invalid
since commit ba6d5cb3297b ("powerpc/mm: Update _PAGE_KERNEL_RO")

Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/36bff5d875ff562889c5e12dab63e5d7c5d1fbd8.1566309262.git.christophe.leroy@c-s.fr
arch/powerpc/platforms/ps3/spu.c