Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64097
b: refs/heads/master
c: 92ddc44
h: refs/heads/master
i:
  64095: 9c81983
v: v3
  • Loading branch information
Dotan Barak authored and Roland Dreier committed Aug 3, 2007
1 parent 7be6716 commit ea8e606
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 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: bfb3ea125174813cdf87b1120caf0c9bd580283e
refs/heads/master: 92ddc447ce7382e36b72a240697c00bf4beb8d75
5 changes: 5 additions & 0 deletions trunk/drivers/infiniband/core/umem.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@

#include "uverbs.h"

#define IB_UMEM_MAX_PAGE_CHUNK \
((PAGE_SIZE - offsetof(struct ib_umem_chunk, page_list)) / \
((void *) &((struct ib_umem_chunk *) 0)->page_list[1] - \
(void *) &((struct ib_umem_chunk *) 0)->page_list[0]))

static void __ib_umem_release(struct ib_device *dev, struct ib_umem *umem, int dirty)
{
struct ib_umem_chunk *chunk, *tmp;
Expand Down
5 changes: 0 additions & 5 deletions trunk/include/rdma/ib_verbs.h
Original file line number Diff line number Diff line change
Expand Up @@ -733,11 +733,6 @@ struct ib_udata {
size_t outlen;
};

#define IB_UMEM_MAX_PAGE_CHUNK \
((PAGE_SIZE - offsetof(struct ib_umem_chunk, page_list)) / \
((void *) &((struct ib_umem_chunk *) 0)->page_list[1] - \
(void *) &((struct ib_umem_chunk *) 0)->page_list[0]))

struct ib_pd {
struct ib_device *device;
struct ib_uobject *uobject;
Expand Down

0 comments on commit ea8e606

Please sign in to comment.