Re: [PATCH] suspend: fix section mismatch warning -register_nosave_region

From: Pavel Machek
Date: Wed Aug 13 2008 - 03:48:02 EST


On Tue 2008-08-12 23:23:06, Marcin Slusarz wrote:
> WARNING: vmlinux.o(.text+0xe684): Section mismatch in reference from the function register_nosave_region() to the function .init.text:__register_nosave_region()
> The function register_nosave_region() references
> the function __init __register_nosave_region().
> This is often because register_nosave_region lacks a __init
> annotation or the annotation of __register_nosave_region is wrong.
>
> register_nosave_region calls __init function and is called only from __init functions
>
> Signed-off-by: Marcin Slusarz <marcin.slusarz@xxxxxxxxx>
> Cc: Rafael J. Wysocki <rjw@xxxxxxx>

Acked-by: Pavel Machek <pavel@xxxxxxx>
> Cc: Len Brown <len.brown@xxxxxxxxx>

You probably want to send it to akpm and/or Andi Kleen: Len is on
holidays.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/