Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 82815
b: refs/heads/master
c: 3309daa
h: refs/heads/master
i:
  82813: 2eed816
  82811: 53fbae3
  82807: edf9ca4
  82799: 23ab270
  82783: dbdfdd6
  82751: f2c04f1
  82687: 2fedd35
v: v3
  • Loading branch information
Anthony Liguori authored and Rusty Russell committed Feb 4, 2008
1 parent 340f8cc commit ea18d4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f957d1f05a1a20bc3b954877c6562a4d53d58bde
refs/heads/master: 3309daaad724dd08eb598bf9c12b7bb9daddd706
4 changes: 2 additions & 2 deletions trunk/include/linux/virtio_ring.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ struct vring {
* };
*/
static inline void vring_init(struct vring *vr, unsigned int num, void *p,
unsigned int pagesize)
unsigned long pagesize)
{
vr->num = num;
vr->desc = p;
Expand All @@ -98,7 +98,7 @@ static inline void vring_init(struct vring *vr, unsigned int num, void *p,
& ~(pagesize - 1));
}

static inline unsigned vring_size(unsigned int num, unsigned int pagesize)
static inline unsigned vring_size(unsigned int num, unsigned long pagesize)
{
return ((sizeof(struct vring_desc) * num + sizeof(__u16) * (2 + num)
+ pagesize - 1) & ~(pagesize - 1))
Expand Down

0 comments on commit ea18d4a

Please sign in to comment.