diff options
| author | Reza Arbab <arbab@linux.vnet.ibm.com> | 2017-01-16 13:07:43 -0600 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-01-31 13:54:18 +1100 |
| commit | b5200ec9edf038459619fce9988842efa751a2c5 (patch) | |
| tree | 9ecb40992af97b8afbf1f9a833eb634bf1118fc5 /include/linux/fpga/fpga-bridge.h | |
| 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 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions
