From: Anton Vorontsov Date: Mon, 24 Sep 2012 21:27:55 +0000 (-0700) Subject: tty/serial/amba-pl011: Quiesce interrupts in poll_get_char X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~74^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c8124a0f8f50c5671b028b7a030d893a3a1a539;p=pandora-kernel.git 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 Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed