summaryrefslogtreecommitdiff
path: root/arch/arm64/mm/ptdump_debugfs.c
diff options
context:
space:
mode:
authorGuixiong Wei <guixiongwei@gmail.com>2020-05-01 06:18:58 +1400
committerWill Deacon <will@kernel.org>2020-04-30 21:13:56 +0100
commit037d9303a7e7bac622e299817c5dd288346db07c (patch)
treebfe63747f466a023c91c795432afba5e51b2134b /arch/arm64/mm/ptdump_debugfs.c
parentada66f1837594f38bc2db4f98c4c6589ecc8a7f6 (diff)
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: Guixiong Wei <guixiongwei@gmail.com> Link: https://lore.kernel.org/r/20200430161858.11379-1-guixiongwei@gmail.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'arch/arm64/mm/ptdump_debugfs.c')
0 files changed, 0 insertions, 0 deletions