powerpc/mm: use the correct pointer when setting a 2M pte

Michael Ellerman patch-notifications at ellerman.id.au
Mon Jan 30 22:34:06 AEDT 2017


On Wed, 2017-01-25 at 15:54:33 UTC, Reza Arbab wrote:
> When setting a 2M pte, radix__map_kernel_page() is using the address
> 
> 	ptep = (pte_t *)pudp;
> 
> Fix this conversion to use pmdp instead. Use pmdp_ptep() to do this
> instead of casting the pointer.
> 
> Signed-off-by: Reza Arbab <arbab at linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/a0615a16f7d0ceb5804d295203c302

cheers


More information about the Linuxppc-dev mailing list