memblock: Fix section mismatch warnings
authorYinghai Lu <yinghai@kernel.org>
Wed, 15 Sep 2010 20:05:29 +0000 (13:05 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 15 Sep 2010 20:17:13 +0000 (22:17 +0200)
commit3661ca66a42e306aaf53246fb75aec1ea01be0f0
tree7fb390d6d09f72f9e1608554709b607ba0763ca7
parent823108a056c52a83c32ca199a57566a36fad4d19
memblock: Fix section mismatch warnings

Stephen found a bunch of section mismatch warnings with the
new memblock changes.

Use __init_memblock to replace __init in memblock.c and remove
__init in memblock.h. We should not use __init in header files.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Tested-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Yinghai Lu <Yinghai@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
LKML-Reference: <4C912709.2090201@kernel.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/memblock.h
mm/memblock.c