[PATCH][PPC32] fix locking bugs in mv64x60 code

Mark A. Greer mgreer at mvista.com
Thu Feb 3 11:21:38 EST 2005


And with the patch this time...
--
Mark A. Greer wrote:

> [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 <waite at skycomputers.com>
> Signed-off-by: Mark A. Greer <mgreer at mvista.com>
>
>

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mv_smp.patch
Url: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050202/549e3daa/attachment.txt 


More information about the Linuxppc-embedded mailing list