diff options
author | Reza Arbab <arbab@linux.vnet.ibm.com> | 2017-01-16 14:07:43 -0500 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-30 21:54:18 -0500 |
commit | b5200ec9edf038459619fce9988842efa751a2c5 (patch) | |
tree | 9ecb40992af97b8afbf1f9a833eb634bf1118fc5 /arch/powerpc/mm/pgtable-book3s64.c | |
parent | 023b13a50183d9cfc4fc5a66cb1f773ace22024c (diff) |
powerpc/mm: refactor radix physical page mapping
Move the page mapping code in radix_init_pgtable() into a separate
function that will also be used for memory hotplug.
The current goto loop progressively decreases its mapping size as it
covers the tail of a range whose end is unaligned. Change this to a for
loop which can do the same for both ends of the range.
Signed-off-by: Reza Arbab <arbab@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/mm/pgtable-book3s64.c')
0 files changed, 0 insertions, 0 deletions