]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit5c2cec143ac54c1960e54bc320fa7d13ac8e0f4a
treecbb2fa3d146543d116f60611330e97dc62346307
parent97bff0953dd45a633fa69e1a650d612f5610a60b
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