aboutsummaryrefslogtreecommitdiffstats
path: root/mm/sparse.c
diff options
context:
space:
mode:
authorDavid Hildenbrand <[email protected]>2020-04-07 03:06:56 +0000
committerLinus Torvalds <[email protected]>2020-04-07 17:43:40 +0000
commit6cdd0b30a920b35d901c8ca6b82e9ca4f44f54d6 (patch)
treecd34196aec62f2dfb043c24d11bd573948f78112 /mm/sparse.c
parentmm/memory_hotplug.c: simplify calculation of number of pages in __remove_pages() (diff)
downloadkernel-6cdd0b30a920b35d901c8ca6b82e9ca4f44f54d6.tar.gz
kernel-6cdd0b30a920b35d901c8ca6b82e9ca4f44f54d6.zip
mm/memory_hotplug.c: cleanup __add_pages()
Let's drop the basically unused section stuff and simplify. The logic now matches the logic in __remove_pages(). Signed-off-by: David Hildenbrand <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Baoquan He <[email protected]> Reviewed-by: Wei Yang <[email protected]> Cc: Segher Boessenkool <[email protected]> Cc: Oscar Salvador <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Dan Williams <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions