commit | 21e5acc06403f6ce48ef98ad9d081cdec2944d60 | [log] [tgz] |
---|---|---|
author | Michael J. Ruhl <michael.j.ruhl@intel.com> | Tue Sep 26 07:00:56 2017 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Wed Sep 27 11:34:13 2017 -0400 |
tree | 5bf8cb4d065d6ab2d6b33a16b82238362bf53890 | |
parent | 6fee036916f3efbd840631f2ea4ac88950c1592e [diff] |
IB/hfi1: Inline common calculation Calculating the offset to a context is done several times throughout the code. Create a common inlined function for doing this calculation. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>