diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-09-24 14:27:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 13:51:32 -0700 |
commit | 5c8124a0f8f50c5671b028b7a030d893a3a1a539 (patch) | |
tree | 9f1de1a21ff1e1d5465b535f08365bafdb0f74d8 /include/linux/kgdb.h | |
parent | b3564c2cf464e11f8cb4f8d9c124e5e0f5418e3f (diff) | |
download | linux-stable-5c8124a0f8f50c5671b028b7a030d893a3a1a539.tar.gz linux-stable-5c8124a0f8f50c5671b028b7a030d893a3a1a539.tar.bz2 linux-stable-5c8124a0f8f50c5671b028b7a030d893a3a1a539.zip |
tty/serial/amba-pl011: Quiesce interrupts in poll_get_char
We need to quiesce interrupts in the poll_get_char routine, otherwise,
if used with KGDB NMI debugger, we'll keep reentering the NMI.
Quiescing interrupts is pretty straightforward, except for TXIM
interrupt. The interrupt has "ready to transmit" meaning, so it's
almost always raised, and the only way to silence it is to mask it. But
that's OK, ops->start_tx will unmask it.
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Acked-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/kgdb.h')
0 files changed, 0 insertions, 0 deletions