diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> | 2019-05-14 11:33:00 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-07-05 00:43:50 +1000 |
commit | d6eacedd1f0ebf00bdf1c77715d194f7c1036fd4 (patch) | |
tree | bf977356cbeb533eb3a4e2d73d4923eba6188be3 /tools | |
parent | 259a948c4ba1829ae4a3c31bb6e40ad458a21254 (diff) | |
download | linux-stable-d6eacedd1f0ebf00bdf1c77715d194f7c1036fd4.tar.gz linux-stable-d6eacedd1f0ebf00bdf1c77715d194f7c1036fd4.tar.bz2 linux-stable-d6eacedd1f0ebf00bdf1c77715d194f7c1036fd4.zip |
powerpc/book3s: Use config independent helpers for page table walk
Even when we have HugeTLB and THP disabled, kernel linear map can still be
mapped with hugepages. This is only an issue with radix translation because hash
MMU doesn't map kernel linear range in linux page table and other kernel
map areas are not mapped using hugepage.
Add config independent helpers and put WARN_ON() when we don't expect things
to be mapped via hugepages.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions