aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2019-03-14 12:54:53 +0000
committerMichael Ellerman <[email protected]>2019-04-20 12:02:11 +0000
commiteea86aa4171d4960f0fcdc99dab358c224d53ffe (patch)
tree38e0d193c517da93546adf865cb3a16f9593488e /arch/powerpc/lib/code-patching.c
parentpowerpc/highmem: Change BUG_ON() to WARN_ON() (diff)
downloadkernel-eea86aa4171d4960f0fcdc99dab358c224d53ffe.tar.gz
kernel-eea86aa4171d4960f0fcdc99dab358c224d53ffe.zip
powerpc/mm/64: Document the sizes of/sizes mapped by Pxx_INDEX_SIZE
Add comments describing the size in bytes of the various levels of the page table tree, and the size of the virtual address space mapped by each level, to make it clear what the sizes are without having to also look up other definitions. The code that calculates the sizes actually uses sizeof(pgd_t) etc., so in theory these comments could skew vs the code, but the size of pgd_t etc. is unlikely to change very often. Signed-off-by: Michael Ellerman <[email protected]> Reviewed-by: Aneesh Kumar K.V <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions