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

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


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

(cesky, pictures)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at