Re: [PATCH] PM / hibernate: Move software_resume tolate_initcall_sync

From: Pavel Machek
Date: Thu Oct 24 2013 - 10:22:15 EST


Hi!

> software_resume is being called after deferred_probe_initcall in
> drivers base. If the probing of the device that contains the resume
> image is deferred, and the system has been instructed to wait for
> it to show up, this wait will occur in software_resume. This causes
> a deadlock.
>
> Move software_resume into late_initcall_sync so that it happens
> after all the other late_initcalls.
>
> Signed-off-by: Russ Dill <Russ.Dill@xxxxxx>

Acked-by: Pavel Machek <Pavel@xxxxxx>


--
(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/