summaryrefslogtreecommitdiff
path: root/include/memory
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2016-04-19 08:25:09 (GMT)
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 13:30:25 (GMT)
commit2caa89b49b21737b2b7b6fce37cb323535188b06 (patch)
tree09d9d183545b2186a08176c41019bffeb53a2aa5 /include/memory
parentb4ebbb876dca9327cc964138f5558ca3c6832392 (diff)
downloadlinux-2caa89b49b21737b2b7b6fce37cb323535188b06.tar.xz
MIPS: mm: Simplify build_update_entries
We can simplify build_update_entries by unifying the code for the 36 bit physical addressing with MIPS32 case with the general case, by using pte_off_ variables in all cases & handling the trivial _PAGE_GLOBAL_SHIFT == 0 case in build_convert_pte_to_entrylo. This leaves XPA as the only special case. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Reviewed-by: James Hogan <james.hogan@imgtec.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/13123/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions