Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memory-hotplug: use zone_can_shift() for sysfs valid_zones attribute
Since zone_can_shift() is being used to validate the target zone during onlining, it should also be used to determine the content of valid_zones. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Reza Arbab <[email protected]> Reviewd-by: Yasuaki Ishimatsu <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Daniel Kiper <[email protected]> Cc: Dan Williams <[email protected]> Cc: Vlastimil Babka <[email protected]> Cc: Tang Chen <[email protected]> Cc: Joonsoo Kim <[email protected]> Cc: David Vrabel <[email protected]> Cc: Vitaly Kuznetsov <[email protected]> Cc: David Rientjes <[email protected]> Cc: Andrew Banman <[email protected]> Cc: Chen Yucong <[email protected]> Cc: Yasunori Goto <[email protected]> Cc: Zhang Zhen <[email protected]> Cc: Shaohua Li <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information