IB/hfi1: Use a template for tid reg/unreg
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Fri, 9 Jun 2017 22:59:53 +0000 (15:59 -0700)
committerDoug Ledford <dledford@redhat.com>
Tue, 27 Jun 2017 20:58:13 +0000 (16:58 -0400)
commitf523984fb85d16e098aac94642cc16803a4cc61f
treed05e13df7d75161628c5fa28e4643b2ffa7ce6af
parentf5114440c5491d4737b061c3a77195088bbaca52
IB/hfi1: Use a template for tid reg/unreg

This is the preferred way to add a duplicate trace call.

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/trace_rx.h