Skip to content

Commit d1f0ece

Browse files
Jonghwan Choitorvalds
authored andcommitted
mm/memblock.c: small function definition fixes
warning: function 'memblock_memory_can_coalesce' with external linkage has definition. Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent d2ebd0f commit d1f0ece

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎mm/memblock.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ static int __init_memblock memblock_double_array(struct memblock_type *type)
267267
return 0;
268268
}
269269

270-
extern int __init_memblock __weak memblock_memory_can_coalesce(phys_addr_t addr1, phys_addr_t size1,
270+
int __init_memblock __weak memblock_memory_can_coalesce(phys_addr_t addr1, phys_addr_t size1,
271271
phys_addr_t addr2, phys_addr_t size2)
272272
{
273273
return 1;

0 commit comments

Comments
 (0)