rk: fiq_debugger: flush uart before putc on oops

This commit is contained in:
黄涛
2012-09-07 10:46:52 +08:00
parent 48924ff848
commit 41dfb4ee24

View File

@@ -159,6 +159,7 @@ static void console_write(struct platform_device *pdev, const char *s, unsigned
t = container_of(dev_get_platdata(&pdev->dev), typeof(*t), pdata);
if (oops_in_progress || oops) {
debug_flush(pdev);
while (kfifo_get(&fifo, &c))
debug_putc(pdev, c);
while (count--) {