Re: [PATCH] x86: memblock: move mem_hole_size() to .init

From: Tejun Heo
Date: Tue Feb 28 2012 - 15:08:00 EST


On Tue, Feb 28, 2012 at 04:16:33PM +0100, Jiri Kosina wrote:
> 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 <jkosina@xxxxxxx>

Acked-by: Tejun Heo <tj@xxxxxxxxxx>

Thanks.

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/