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)
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>

No differences found