diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-10 12:19:58 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-02-10 12:19:58 -0800 |
commit | ce86d35d2fd119d777fc72736732c8c9c3456698 (patch) | |
tree | 531b2077d9db6b44285ad75196672b4d102e8f20 /arch | |
parent | b477958314796f51c54829dbaea89b1f46dabd06 (diff) | |
parent | 0f66e50af53d39edebf4bc64ef90077e738c171f (diff) | |
download | linux-stable-ce86d35d2fd119d777fc72736732c8c9c3456698.tar.gz linux-stable-ce86d35d2fd119d777fc72736732c8c9c3456698.tar.bz2 linux-stable-ce86d35d2fd119d777fc72736732c8c9c3456698.zip |
Merge branch 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6
* 'tty-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6:
serial: bfin_5xx: split uart RX lock from uart port lock to avoid deadlock
68360serial: Plumb in rs_360_get_icount()
n_gsm: copy mtu over when configuring via ioctl interface
virtio: console: Move file back to drivers/char/
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/include/asm/bfin_serial.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/bfin_serial.h b/arch/blackfin/include/asm/bfin_serial.h index 1ff9f1468c02..7dbc664eab1e 100644 --- a/arch/blackfin/include/asm/bfin_serial.h +++ b/arch/blackfin/include/asm/bfin_serial.h @@ -10,6 +10,7 @@ #define __BFIN_ASM_SERIAL_H__ #include <linux/serial_core.h> +#include <linux/spinlock.h> #include <mach/anomaly.h> #include <mach/bfin_serial.h> @@ -41,6 +42,7 @@ struct bfin_serial_port { struct circ_buf rx_dma_buf; struct timer_list rx_dma_timer; int rx_dma_nrows; + spinlock_t rx_lock; unsigned int tx_dma_channel; unsigned int rx_dma_channel; struct work_struct tx_dma_workqueue; |