diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2018-02-11 20:30:08 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-02-13 22:37:48 +1100 |
commit | ff31e105464d8c8c973019646827020aed9c2d9f (patch) | |
tree | 911780a5ac4287853b6a484261677c66b1dbb264 /net/rds/rds.h | |
parent | 4a7aa4fecbbf94b5c6fae8acccc983d919992bde (diff) | |
download | linux-ff31e105464d8c8c973019646827020aed9c2d9f.tar.bz2 |
powerpc/mm/hash64: Store the slot information at the right offset for hugetlb
The hugetlb pte entries are at the PMD and PUD level, so we can't use
PTRS_PER_PTE to find the second half of the page table. Use the right
offset for PUD/PMD to get to the second half of the table.
Fixes: bf9a95f9a648 ("powerpc: Free up four 64K PTE bits in 64K backed HPTE pages")
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Reviewed-by: Ram Pai <linuxram@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'net/rds/rds.h')
0 files changed, 0 insertions, 0 deletions