aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/xmon
diff options
context:
space:
mode:
authorAnshuman Khandual <khandual@linux.vnet.ibm.com>2015-07-29 12:40:03 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2015-08-12 15:05:46 +1000
commit9c61f7a0ad6fdff85b0c4c648e0c94947ea05c76 (patch)
treee8089508131238c323798084faa51a4ecacc6945 /arch/powerpc/xmon
parentpowerpc/slb: Add documentation on runtime patching of SLB encoding (diff)
downloadlinux-dev-9c61f7a0ad6fdff85b0c4c648e0c94947ea05c76.tar.xz
linux-dev-9c61f7a0ad6fdff85b0c4c648e0c94947ea05c76.zip
powerpc/prom: Simplify the logic to fetch SLB size
The code to fetch the SLB size from the device tree wants to first look for "slb-size" and then if that's not found "ibm,slb-size". We can simplify the code by looking for the properties and then if we find one of them we set mmu_slb_size. We also change the function name from check_cpu_slb_size() to init_mmu_slb_size() as the function doesn't check anything, it only initialises mmu_slb_size. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> [mpe: Rewrite change log] Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/xmon')
0 files changed, 0 insertions, 0 deletions