diff options
author | Andy Voltz <andy.voltz@timesys.com> | 2013-03-14 15:09:50 -0400 |
---|---|---|
committer | Andy Voltz <andy.voltz@timesys.com> | 2013-03-14 15:09:50 -0400 |
commit | c0cfb5767277856a41ae2dd1ed31dfd8cb37f2a0 (patch) | |
tree | 4374d1a98b761d0b2f8e89ea98b20413d8a7ce91 /drivers/tty/serial/mpsc.c | |
parent | 4cbca527d4ab6175ec14887b99e88a70c6b34621 (diff) |
Fix serial bug when recieving a file3.0-vybrid-ts2
When serial-transmit a file from host to target, an error "BUG: scheduling
while atomic: cat/998/0x00010002" occurs.
BUG: scheduling while atomic: cat/998/0x00010002 Modules linked in:
Pid: 998, comm: cat
CPU: 0 Not tainted (3.0.15 #1)
PC is at n_tty_write+0x260/0x43c
LR is at tty_write_room+0x20/0x2c
pc : <80204700> lr : <80206194> psr: 60000013
sp : 863b9e78 ip : 8038e378 fp : 863b9ec4
r10: 00000fff r9 : 863b6400 r8 : 86165d80
r7 : 863b8000 r6 : 86368b6c r5 : 86368800 r4 : 00000002
r3 : 00000010 r2 : 00000000 r1 : 00000040 r0 : 00000002
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c53c7d Table: 863f8059 DAC: 00000015 <80031f5c>
(show_regs+0x0/0x54) from <803761f0>
(__schedule_bug+0x4c/0x60)
r4:863b9e30 r3:60000193
<803761a4> (__schedule_bug+0x0/0x60) from <8037941c>
(__schedule+0x35c/0x3c4)
Thanks to Tadayoshi Arai <ara@lineo.co.jp> for reporting this and submitting
this patch
Diffstat (limited to 'drivers/tty/serial/mpsc.c')
0 files changed, 0 insertions, 0 deletions