projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac46d4f
)
include/linux/memory_hotplug.h: remove duplicate declaration of offline_pages()
author
Wei Yang
<richard.weiyang@gmail.com>
Fri, 28 Dec 2018 08:38:13 +0000
(
00:38
-0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Fri, 28 Dec 2018 20:11:50 +0000
(12:11 -0800)
offline_pages() is already declared in this file.
Just remove the duplicated one.
Link:
http://lkml.kernel.org/r/20181205031357.24769-1-richard.weiyang@gmail.com
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memory_hotplug.h
patch
|
blob
|
history
diff --git
a/include/linux/memory_hotplug.h
b/include/linux/memory_hotplug.h
index 8ed6e09a5c0cd038ba8d63ece957451f34287b6e..07da5c6c5ba0fc1de1eac7fb1ccd9ff34e5a0a10 100644
(file)
--- 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);