diff options
| author | Reza Arbab <[email protected]> | 2017-01-25 15:54:33 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-01-30 04:35:13 +0000 |
| commit | a0615a16f7d0ceb5804d295203c302d496d8ee91 (patch) | |
| tree | 62176ad23e9f7d1a679c45db2f43ac23264b03b5 /net/unix/af_unix.c | |
| parent | powerpc: Fix build failure with clang due to BUILD_BUG_ON() (diff) | |
| download | kernel-a0615a16f7d0ceb5804d295203c302d496d8ee91.tar.gz kernel-a0615a16f7d0ceb5804d295203c302d496d8ee91.zip | |
powerpc/mm: Use the correct pointer when setting a 2MB pte
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: [email protected] # v4.7+
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Reza Arbab <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
