From: Yinghai Lu Date: Wed, 15 Sep 2010 20:05:29 +0000 (-0700) Subject: memblock: Fix section mismatch warnings X-Git-Tag: v2.6.37-rc1~183^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3661ca66a42e306aaf53246fb75aec1ea01be0f0;p=pandora-kernel.git 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 Tested-by: Stephen Rothwell Signed-off-by: Yinghai Lu Cc: Peter Zijlstra Cc: Benjamin Herrenschmidt LKML-Reference: <4C912709.2090201@kernel.org> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed