On 30.11.20 16:18, Muchun Song wrote:
> Move bootmem info registration common API to individual bootmem_info.c
> for later patch use. This is just code movement without any functional
> change.
> 
> Signed-off-by: Muchun Song <[email protected]>
> Acked-by: Mike Kravetz <[email protected]>
> Reviewed-by: Oscar Salvador <[email protected]>
> ---
>  arch/x86/mm/init_64.c          |  1 +
>  include/linux/bootmem_info.h   | 27 ++++++++++++
>  include/linux/memory_hotplug.h | 23 ----------
>  mm/Makefile                    |  1 +
>  mm/bootmem_info.c              | 99 
> ++++++++++++++++++++++++++++++++++++++++++
>  mm/memory_hotplug.c            | 91 +-------------------------------------
>  6 files changed, 129 insertions(+), 113 deletions(-)
>  create mode 100644 include/linux/bootmem_info.h
>  create mode 100644 mm/bootmem_info.c
> 

Reviewed-by: David Hildenbrand <[email protected]>


-- 
Thanks,

David / dhildenb

Reply via email to