Skip to content
Commit 037d9303 authored by Guixiong Wei's avatar Guixiong Wei Committed by Will Deacon
Browse files

arm: mm: use __pfn_to_section() to get mem_section



Replace the open-coded '__nr_to_section(pfn_to_section_nr(pfn))' in
pfn_valid() with a more concise call to '__pfn_to_section(pfn)'.

No functional change.

Signed-off-by: default avatarGuixiong Wei <guixiongwei@gmail.com>
Link: https://lore.kernel.org/r/20200430161858.11379-1-guixiongwei@gmail.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent ada66f18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment