mm, memory_hotplug: remove unused cruft after memory hotplug rework
Subsystems (2)
[email protected]
maintainerPATCH 58/108 mm, memory_hotplug: remove unused cruft after memory hotplug rework
From: Michal Hocko <[email protected]>
Subject: mm, memory_hotplug: remove unused cruft after memory hotplug rework
zone_for_memory doesn't have any user anymore as well as the whole zone shifting infrastructure so drop them all.
This shouldn't introduce any functional changes.
Signed-off-by Michal Hocko <[email protected]>
Acked-by Vlastimil Babka <[email protected]>
Cc Andi Kleen <[email protected]>
Cc Andrea Arcangeli <[email protected]>
Cc Balbir Singh <[email protected]>
Cc Dan Williams <[email protected]>
Cc Daniel Kiper <[email protected]>
Cc David Rientjes <[email protected]>
Cc Heiko Carstens <[email protected]>
Cc Igor Mammedov <[email protected]>
Cc Jerome Glisse <[email protected]>
Cc Joonsoo Kim <[email protected]>
Cc Martin Schwidefsky <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Reza Arbab <[email protected]>
Cc Tobias Regnery <[email protected]>
Cc Toshi Kani <[email protected]>
Cc Vitaly Kuznetsov <[email protected]>
Cc Xishi Qiu <[email protected]>
Cc Yasuaki Ishimatsu <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
include/linux/memory_hotplug.h | 2 mm/memory_hotplug.c | 207 ------------------------------- 2 files changed, 209 deletions(-)
include/linux/memory_hotplug.h renamed from include/linux/memory_hotplug.h~mm-memory_hotplug-remove-unused-cruft-after-memory-hotplug-rework +0 -2
@@ -296,8 +296,6 @@ extern int walk_memory_range(unsigned lo void *arg, int (*func)(struct memory_block *, void *));extern int add_memory (int nid,u64 start,u64 size);extern int add_memory_resource (int nid,struct resource *resource,bool online); -extern int zone_for_memory (int nid,u64 start,u64 size,int zone_default, -bool for_device);extern int arch_add_memory (int nid,u64 start,u64 size,bool want_memblock);extern void move_pfn_range_to_zone (struct zone *zone,unsigned long start_pfn,unsigned long nr_pages);
mm/memory_hotplug.c renamed from mm/memory_hotplug.c~mm-memory_hotplug-remove-unused-cruft-after-memory-hotplug-rework +0 -206
215 lines not on this page · raw message