diff options
author | David Hildenbrand <david@redhat.com> | 2020-04-06 20:06:56 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-04-07 10:43:40 -0700 |
commit | 6cdd0b30a920b35d901c8ca6b82e9ca4f44f54d6 (patch) | |
tree | cd34196aec62f2dfb043c24d11bd573948f78112 /mm/sparse.c | |
parent | a11b9419243b9c5c7c5778d623926d9a12f68d15 (diff) | |
download | lwn-6cdd0b30a920b35d901c8ca6b82e9ca4f44f54d6.tar.gz lwn-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 <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Baoquan He <bhe@redhat.com>
Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Cc: Segher Boessenkool <segher@kernel.crashing.org>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Link: http://lkml.kernel.org/r/20200228095819.10750-3-david@redhat.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions