aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ehca/ehca_mrmw.h
diff options
context:
space:
mode:
authorHoang-Nam Nguyen <hnguyen@de.ibm.com>2007-07-12 11:49:02 -0400
committerRoland Dreier <rolandd@cisco.com>2007-07-17 21:37:39 -0400
commita1a6ff11006c3a056cda9e8b13e7388fba3e69a1 (patch)
tree7741708bf408ff3fbbf01d75f5ab30b73a1db583 /drivers/infiniband/hw/ehca/ehca_mrmw.h
parent3df78f81e070c0e3330ae1bd40385e2f0d6fea2c (diff)
IB/ehca: Use common error code mapping instead of specific ones
Instead of one error mapping function for each potential error source in ehca_mrmw.c, use a centralized function that handles all cases, saving a three-figure line count. Signed-off-by: Joachim Fenkes <fenkes@de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca/ehca_mrmw.h')
-rw-r--r--drivers/infiniband/hw/ehca/ehca_mrmw.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/infiniband/hw/ehca/ehca_mrmw.h b/drivers/infiniband/hw/ehca/ehca_mrmw.h
index d936e40a5748..fb69eded3b48 100644
--- a/drivers/infiniband/hw/ehca/ehca_mrmw.h
+++ b/drivers/infiniband/hw/ehca/ehca_mrmw.h
@@ -121,20 +121,6 @@ void ehca_mrmw_set_pgsize_hipz_acl(u32 *hipz_acl);
121void ehca_mrmw_reverse_map_acl(const u32 *hipz_acl, 121void ehca_mrmw_reverse_map_acl(const u32 *hipz_acl,
122 int *ib_acl); 122 int *ib_acl);
123 123
124int ehca_mrmw_map_hrc_alloc(const u64 hipz_rc);
125
126int ehca_mrmw_map_hrc_rrpg_last(const u64 hipz_rc);
127
128int ehca_mrmw_map_hrc_rrpg_notlast(const u64 hipz_rc);
129
130int ehca_mrmw_map_hrc_query_mr(const u64 hipz_rc);
131
132int ehca_mrmw_map_hrc_free_mr(const u64 hipz_rc);
133
134int ehca_mrmw_map_hrc_free_mw(const u64 hipz_rc);
135
136int ehca_mrmw_map_hrc_reg_smr(const u64 hipz_rc);
137
138void ehca_mr_deletenew(struct ehca_mr *mr); 124void ehca_mr_deletenew(struct ehca_mr *mr);
139 125
140#endif /*_EHCA_MRMW_H_*/ 126#endif /*_EHCA_MRMW_H_*/