From: Jiri Kosina Date: Tue, 28 Feb 2012 15:16:33 +0000 (+0100) Subject: x86, memblock: Move mem_hole_size() to .init X-Git-Tag: v3.4-rc1~148^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e37aade31601cdb9f078f6663cbf887f391bb110;p=pandora-kernel.git x86, memblock: Move mem_hole_size() to .init mem_hole_size() is being called only from __init-marked functions, and as such should be moved to .init section as well. Fixes this warning: WARNING: vmlinux.o(.text+0x35511): Section mismatch in reference from the function mem_hole_size() to the function .init.text:absent_pages_in_range() Signed-off-by: Jiri Kosina Link: http://lkml.kernel.org/r/alpine.LNX.2.00.1202281614450.31150@pobox.suse.cz Signed-off-by: H. Peter Anvin --- Reading git-diff-tree failed