David Hildenbrand f29d8e9c01 mm/memory_hotplug: drop "online" parameter from add_memory_resource()
Userspace should always be in charge of how to online memory and if memory
should be onlined automatically in the kernel.  Let's drop the parameter
to overwrite this - XEN passes memhp_auto_online, just like add_memory(),
so we can directly use that instead internally.

Link: http://lkml.kernel.org/r/20181123123740.27652-1-david@redhat.com
Signed-off-by: David Hildenbrand <david@redhat.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Reviewed-by: Oscar Salvador <osalvador@suse.de>
Acked-by: Juergen Gross <jgross@suse.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Pavel Tatashin <pasha.tatashin@oracle.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Arun KS <arunks@codeaurora.org>
Cc: Mathieu Malaterre <malat@debian.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-12-28 12:11:48 -08:00
..
2018-12-27 11:15:21 -08:00
2018-10-29 15:16:01 -07:00
2018-12-27 10:43:24 -08:00
2018-12-27 10:43:24 -08:00
2018-12-03 17:40:18 +01:00
2018-10-16 11:13:50 +02:00
2018-12-25 14:48:06 -08:00
2018-10-11 12:12:55 +02:00
2018-12-25 11:04:17 -08:00
2018-12-27 10:43:24 -08:00
2018-12-25 11:04:17 -08:00
2018-12-18 18:37:27 +01:00
2018-12-25 14:52:50 -08:00
2018-12-13 16:40:03 +00:00
2018-12-25 14:43:54 -08:00
2018-10-26 14:36:21 -07:00
2018-12-24 12:06:56 +01:00
2018-10-29 15:16:01 -07:00
2018-10-31 08:54:16 -07:00
2018-12-25 14:43:54 -08:00
2018-10-11 09:16:44 -07:00
2018-12-27 11:58:50 -08:00
2018-12-11 14:23:17 +01:00
2018-12-25 11:48:26 -08:00
2018-11-12 10:33:49 +01:00
2018-11-12 10:33:49 +01:00