Commit 862548da authored by Ira Weiny's avatar Ira Weiny Committed by Doug Ledford

IB/hfi1: Add parameter names to callback declarations

This makes it more clear what these functions are
operating on.
Reviewed-by: default avatarDean Luick <dean.luick@intel.com>
Signed-off-by: default avatarIra Weiny <ira.weiny@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent ac335e7e
...@@ -57,11 +57,12 @@ struct mmu_rb_node { ...@@ -57,11 +57,12 @@ struct mmu_rb_node {
}; };
struct mmu_rb_ops { struct mmu_rb_ops {
bool (*filter)(struct mmu_rb_node *, unsigned long, unsigned long); bool (*filter)(struct mmu_rb_node *node, unsigned long addr,
int (*insert)(struct rb_root *, struct mmu_rb_node *); unsigned long len);
void (*remove)(struct rb_root *, struct mmu_rb_node *, int (*insert)(struct rb_root *root, struct mmu_rb_node *mnode);
struct mm_struct *); void (*remove)(struct rb_root *root, struct mmu_rb_node *mnode,
int (*invalidate)(struct rb_root *, struct mmu_rb_node *); struct mm_struct *mm);
int (*invalidate)(struct rb_root *root, struct mmu_rb_node *node);
}; };
int hfi1_mmu_rb_register(struct rb_root *root, struct mmu_rb_ops *ops); int hfi1_mmu_rb_register(struct rb_root *root, struct mmu_rb_ops *ops);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment