From: Anthony Liguori Date: Fri, 21 Dec 2007 00:17:47 +0000 (+0200) Subject: virtio: Fix vring_init/vring_size to take unsigned long X-Git-Tag: v2.6.25-rc1~1058^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3309daaad724dd08eb598bf9c12b7bb9daddd706;p=pandora-kernel.git virtio: Fix vring_init/vring_size to take unsigned long Using unsigned int resulted in silent truncation of the upper 32-bit on x86_64 resulting in an OOPS since the ring was being initialized wrong. Please reconsider my previous patch to just use PAGE_ALIGN(). Open coding this sort of stuff, no matter how simple it seems, is just asking for this sort of trouble. Signed-off-by: Anthony Liguori Signed-off-by: Rusty Russell --- Reading git-diff-tree failed