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

From: Jiri Kosina
Date: Sat Mar 03 2012 - 17:40:49 EST


On Wed, 29 Feb 2012, Tejun Heo 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. Doesn't seem to have been picked up ... Ingo/hpa, I guess it's
appropriate for -tip?

--
Jiri Kosina
SUSE Labs
--
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/