From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from av.mvista.com (gateway-1237.mvista.com [12.44.186.158]) by ozlabs.org (Postfix) with ESMTP id 8391C67A46 for ; Thu, 3 Feb 2005 11:20:11 +1100 (EST) Message-ID: <42016E33.9070804@mvista.com> Date: Wed, 02 Feb 2005 17:20:03 -0700 From: "Mark A. Greer" MIME-Version: 1.0 To: akpm Content-Type: text/plain; charset=us-ascii; format=flowed Cc: Brian Waite , Embedded PPC Linux list Subject: [PATCH][PPC32] fix locking bugs in mv64x60 code List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , [Original patch slightly edited by mgreer] This patch fixes 2 SMP deadlocks. The first is that mv64x60_read() was returning before the unlock. The second was mv64x60_modify() locks the spin lock and calls mv64x60_read() and mv64x60_write() which also lock the same spin lock. Please apply. Signed-Off-By: Brian Waite Signed-off-by: Mark A. Greer