diff options
| author | Rabin Vincent <[email protected]> | 2012-01-17 10:52:28 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-01-25 00:09:55 +0000 |
| commit | ef605fdb33883d687cff5ba75095a91b313b4966 (patch) | |
| tree | 7eea2b5b397d0b5373ec76035bf924d3885b2489 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | amba-pl011: do not disable RTS during shutdown (diff) | |
| download | kernel-ef605fdb33883d687cff5ba75095a91b313b4966.tar.gz kernel-ef605fdb33883d687cff5ba75095a91b313b4966.zip | |
serial: amba-pl011: lock console writes against interrupts
Protect against pl011_console_write() and the interrupt for
the console UART running concurrently on different CPUs.
Otherwise the console_write could spin for a long time
waiting for the UART to become not busy, while the other
CPU continuously services UART interrupts and keeps the
UART busy.
The checks for sysrq and oops_in_progress are taken
from 8250.c.
Cc: stable <[email protected]>
Signed-off-by: Rabin Vincent <[email protected]>
Reviewed-by: Srinidhi Kasagar <[email protected]>
Reviewed-by: Bibek Basu <[email protected]>
Reviewed-by: Shreshtha Kumar Sahu <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
