# RE: Problem of concurrency in arch/ppc/8260\_io/uart.c

- From: Joakim Tjernlund \<hidden\>
- Date: 2003-10-16 14:11:38 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2003/10/9390123
- Thread: https://ratatoskr.run/linuxppc-dev/2003/10/9390123/t.md

```text

> 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/
```
