From: Heinz Graalfs Date: Mon, 28 Oct 2013 23:10:39 +0000 (+1030) Subject: virtio_console: verify if queue is broken after virtqueue_get_buf() X-Git-Tag: v3.13-rc1~82^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40e4dc530118dbb79e270d5554ac8415588378d2;p=pandora-kernel.git virtio_console: verify if queue is broken after virtqueue_get_buf() If virtqueue_get_buf() returns with a NULL pointer it should be verified if the virtqueue is broken, in order to avoid loop calling cpu_relax(). Signed-off-by: Heinz Graalfs Signed-off-by: Rusty Russell --- Reading git-diff-tree failed