summaryrefslogtreecommitdiffstats
path: root/mm/memblock.c
diff options
context:
space:
mode:
authorJonghwan Choi <jhbird.choi@samsung.com>2011-11-01 01:08:42 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2011-11-01 01:30:48 +0100
commitd1f0ece6cdca973c01a46dff0eb062baafe78a85 (patch)
tree570aabe98bb19454723c122cee74fa42cbfa49c9 /mm/memblock.c
parentkswapd: avoid unnecessary rebalance after an unsuccessful balancing (diff)
downloadlinux-d1f0ece6cdca973c01a46dff0eb062baafe78a85.tar.xz
linux-d1f0ece6cdca973c01a46dff0eb062baafe78a85.zip
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>
Diffstat (limited to '')
-rw-r--r--mm/memblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memblock.c b/mm/memblock.c
index b7ed63633581..7d4f5c8a96cb 100644
--- a/mm/memblock.c
+++ b/mm/memblock.c
@@ -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;