]> git.baikalelectronics.ru Git - kernel.git/commit
ehea: fix might sleep problem
authorJan-Bernd Themann <ossthema@de.ibm.com>
Thu, 3 Jul 2008 14:18:45 +0000 (15:18 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 4 Jul 2008 12:10:06 +0000 (08:10 -0400)
commit662f06c89ae1921302227e36bece4575bd659290
treecbb2fa3d146543d116f60611330e97dc62346307
parentd60d505d497c2828547a99693b8ad65ded1f9743
ehea: fix might sleep problem

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@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/ehea/ehea.h
drivers/net/ehea/ehea_main.c