commit | 3309daaad724dd08eb598bf9c12b7bb9daddd706 | [log] [tgz] |
---|---|---|
author | Anthony Liguori <aliguori@us.ibm.com> | Fri Dec 21 02:17:47 2007 +0200 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Mon Feb 04 23:49:59 2008 +1100 |
tree | 7f0fb0e040d3bd0e5c88b4f025125cec566221ee | |
parent | f957d1f05a1a20bc3b954877c6562a4d53d58bde [diff] |
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 <aliguori@us.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>