From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.dvmed.net (srv5.dvmed.net [207.36.208.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BDC82DDE98 for ; Fri, 4 Jul 2008 22:14:34 +1000 (EST) Message-ID: <486E141F.6070108@garzik.org> Date: Fri, 04 Jul 2008 08:14:23 -0400 From: Jeff Garzik MIME-Version: 1.0 To: Jan-Bernd Themann Subject: Re: [PATCH 1/3] ehea: fix might sleep problem References: <200807031618.46087.ossthema@de.ibm.com> In-Reply-To: <200807031618.46087.ossthema@de.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Cc: Thomas Klein , Jan-Bernd Themann , netdev , hering2@de.ibm.com, linux-kernel , kamalesh@linux.vnet.ibm.com, linux-ppc , Christoph Raisch , Marcus Eder List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 applied 1-3 to 2.6.26