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

2008-07-04 Thread Jeff Garzik
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 <[EMAIL PROTECTED]> applied 1-3 to 2.6.26

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

2008-07-03 Thread Jan-Bernd Themann
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 <[EMAIL PROTECTED]> --- diff -Nurp -X dontdiff linux-2.6.26-rc8/drivers/net