IB/hfi1: Reduce excessive aspm inlines
authorMichael J. Ruhl <michael.j.ruhl@intel.com>
Fri, 28 Jun 2019 18:22:17 +0000 (14:22 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 29 Jun 2019 01:34:26 +0000 (22:34 -0300)
commitbf3b1e0ce093ce31d4d91d613f9b09d80a4021cc
tree05dcb88af792a1b3fd57eb909bdd5908f55edb6a
parent2b0ad2da8fd4c32f63d9142f2de43a4d34fdd679
IB/hfi1: Reduce excessive aspm inlines

Uninline the aspm API since it increases code space for no reason.

Move the aspm module param to the new aspm C file.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@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: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hfi1/Makefile
drivers/infiniband/hw/hfi1/aspm.c [new file with mode: 0644]
drivers/infiniband/hw/hfi1/aspm.h
drivers/infiniband/hw/hfi1/pcie.c