Problem of concurrency in arch/ppc/8260_io/uart.c

Joakim Tjernlund joakim.tjernlund at lumentis.se
Fri Oct 17 00:11:38 EST 2003


> I had a similar problem on my_console_write. Here I wite down two version of the code, the first one is the old
> and the second one is the new with the modification. As you can see, there was a spin_unlock without a spink_lock
> ;this hangs the startup in calibration loop.

Agostino,
check out the new 8xx_io/uart.c in BK. I wrote a patch that fixes the locking problems
but minimizes the lock time.

   Jocke

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list