]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm/memblock.c: small function definition fixes
authorJonghwan Choi <jhbird.choi@samsung.com>
Wed, 28 Sep 2011 00:50:18 +0000 (10:50 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 Sep 2011 04:53:26 +0000 (14:53 +1000)
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 <>
mm/memblock.c

index b7ed63633581ab58ba3ceff10ac72a2a897ef6e2..7d4f5c8a96cb46c78f5582f35ce382acbdfad934 100644 (file)
@@ -267,7 +267,7 @@ static int __init_memblock memblock_double_array(struct memblock_type *type)
        return 0;
 }
 
-extern int __init_memblock __weak memblock_memory_can_coalesce(phys_addr_t addr1, phys_addr_t size1,
+int __init_memblock __weak memblock_memory_can_coalesce(phys_addr_t addr1, phys_addr_t size1,
                                          phys_addr_t addr2, phys_addr_t size2)
 {
        return 1;