Skip to content
Commit 10404901 authored by chenqiwu's avatar chenqiwu Committed by Linus Torvalds
Browse files

mm/memory_hotplug.c: use __pfn_to_section() instead of open-coding



Use __pfn_to_section() API instead of open-coding for better code
readability.

Signed-off-by: default avatarchenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Acked-by: default avatarDavid Hildenbrand <david@redhat.com>
Link: http://lkml.kernel.org/r/1584345134-16671-1-git-send-email-qiwuchen55@gmail.com


Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 5f47adf7
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