Re: [PATCH 1/5] [pm] Fix locking of device suspend/resume functions

From: Arjan van de Ven
Date: Sat Feb 18 2006 - 04:20:11 EST


On Fri, 2006-02-17 at 18:03 -0800, Patrick Mochel wrote:
> This patch removes the unneeded down()/up() calls from
> suspend_device() and resume_device(). Those functions
> are already called under the dpm_sem, making this code
> unconditionally deadlock in SMP kernels.

this wants to be a mutex as well ;)

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