Revision a0615a16f7d0ceb5804d295203c302d496d8ee91 authored by Reza Arbab on 25 January 2017, 15:54:33 UTC, committed by Michael Ellerman on 30 January 2017, 04:35:13 UTC
When setting a 2MB 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. Fixes: 2bfd65e45e87 ("powerpc/mm/radix: Add radix callbacks for early init routines") Cc: stable@vger.kernel.org # v4.7+ Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
1 parent b5fa0f7
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 180 bytes |
lzo1x_compress.c | -rw-r--r-- | 6.1 KB |
lzo1x_decompress_safe.c | -rw-r--r-- | 5.7 KB |
lzodefs.h | -rw-r--r-- | 1.5 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...