Skip to content
Commit 32d18708 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Catalin Marinas
Browse files

arm64: mm: simplify the page end calculation in __create_pgd_mapping()



Calculate the page-aligned end address more simply.

The local variable, "length" is unneeded.

Reviewed-by: default avatarMark Rutland <mark.rutland@arm.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent e44ec4a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment