From: Ian Molton Date: Tue, 1 Dec 2009 07:26:33 +0000 (+0800) Subject: hwrng: virtio-rng - Convert to new API X-Git-Tag: v2.6.33-rc1~365^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb347d98079a547e80bd4722dee1de61e4dca0e8;p=pandora-kernel.git hwrng: virtio-rng - Convert to new API This patch converts virtio-rng to the new hw_rng API. In the process it fixes a previously untriggered buffering bug where the buffer is not drained correctly if it has a non-multiple-of-4 length. Performance has improved under qemu-kvm testing also. Signed-off-by: Ian Molton Acked-by: Matt Mackall Acked-by: Rusty Russell Signed-off-by: Herbert Xu --- Reading git-diff-tree failed