diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2017-03-09 21:52:08 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-03-23 14:09:12 +0000 |
commit | 5bd466947160d1e0517747b63216806ea768c791 (patch) | |
tree | 9d311b857d4628017e1cb90422b02dd969105a02 /tools/objtool/builtin-check.c | |
parent | c0951366d4b7e00d2f60f6daae7069b240d370c0 (diff) | |
download | linux-stable-5bd466947160d1e0517747b63216806ea768c791.tar.gz linux-stable-5bd466947160d1e0517747b63216806ea768c791.tar.bz2 linux-stable-5bd466947160d1e0517747b63216806ea768c791.zip |
arm64/mm: remove pointless map/unmap sequences when creating page tables
The routines __pud_populate and __pmd_populate only create a table
entry at their respective level which refers to the next level page
by its physical address, so there is no reason to map this page and
then unmap it immediately after.
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'tools/objtool/builtin-check.c')
0 files changed, 0 insertions, 0 deletions