Re: powerpc/mm: use the correct pointer when setting a 2M pte
From: Michael Ellerman <hidden>
Date: 2017-01-30 11:34:07
From: Michael Ellerman <hidden>
Date: 2017-01-30 11:34:07
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 <redacted>
Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/a0615a16f7d0ceb5804d295203c302 cheers