Messages in this thread | | | Date | Wed, 29 Feb 2012 05:07:53 +0900 | From | Tejun Heo <> | Subject | Re: [PATCH] x86: memblock: move mem_hole_size() to .init |
| |
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@suse.cz>
Acked-by: Tejun Heo <tj@kernel.org>
Thanks.
-- tejun
| |