linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] memory_hotplug: remove duplicate declaration of offline_pages()
       [not found] <20181205031357.24769-1-richard.weiyang@gmail.com>
@ 2018-12-05  8:01 ` David Hildenbrand
  0 siblings, 0 replies; only message in thread
From: David Hildenbrand @ 2018-12-05  8:01 UTC (permalink / raw)
  To: Wei Yang, akpm, mhocko; +Cc: linux-mm

On 05.12.18 04:13, Wei Yang wrote:
> Function offline_pages() is already declared in this file.
> 
> Just remove the duplicated one.
> 
> Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
> ---
>  include/linux/memory_hotplug.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
> index b81cc29482d8..8cf7f4a18e44 100644
> --- a/include/linux/memory_hotplug.h
> +++ b/include/linux/memory_hotplug.h
> @@ -331,7 +331,6 @@ extern int arch_add_memory(int nid, u64 start, u64 size,
>  		struct vmem_altmap *altmap, bool want_memblock);
>  extern void move_pfn_range_to_zone(struct zone *zone, unsigned long start_pfn,
>  		unsigned long nr_pages, struct vmem_altmap *altmap);
> -extern int offline_pages(unsigned long start_pfn, unsigned long nr_pages);
>  extern bool is_memblock_offlined(struct memory_block *mem);
>  extern int sparse_add_one_section(int nid, unsigned long start_pfn,
>  				  struct vmem_altmap *altmap);
> 

Reviewed-by: David Hildenbrand <david@redhat.com>

-- 

Thanks,

David / dhildenb

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-12-05  8:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20181205031357.24769-1-richard.weiyang@gmail.com>
2018-12-05  8:01 ` [PATCH] memory_hotplug: remove duplicate declaration of offline_pages() David Hildenbrand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox