Re: [PATCH 1/3] ehea: fix might sleep problem

From: Jeff Garzik
Date: Fri Jul 04 2008 - 08:14:45 EST


Jan-Bernd Themann wrote:
A mutex has to be replaced by spinlocks as it can be called from
a context which does not allow sleeping.
The kzalloc flag GFP_KERNEL has to be replaced by GFP_ATOMIC
for the same reason.

Signed-off-by: Jan-Bernd Themann <themann@xxxxxxxxxx>

applied 1-3 to 2.6.26


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