diff options
author | chenqiwu | 2020-04-06 20:07:48 -0700 |
---|---|---|
committer | Linus Torvalds | 2020-04-07 10:43:41 -0700 |
commit | 104049017b774036fa971722a202a17e6585a200 (patch) | |
tree | 91d3b1e6a839b05fe1e7c406d63f98b51989d030 /mm/shmem.c | |
parent | 5f47adf762b78cae97de58d9ff01d2d44db09467 (diff) |
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: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: David Hildenbrand <david@redhat.com>
Link: http://lkml.kernel.org/r/1584345134-16671-1-git-send-email-qiwuchen55@gmail.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/shmem.c')
0 files changed, 0 insertions, 0 deletions