]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up queue-4.4/crypto-qat-fix-adf_ctl_drv.c-undefined-reference-to-adf_init_pf_wq...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jun 2016 02:34:34 +0000 (19:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jun 2016 02:34:34 +0000 (19:34 -0700)
queue-4.4/crypto-qat-fix-adf_ctl_drv.c-undefined-reference-to-adf_init_pf_wq.patch

index 20a8bf5e7b14892bc3e30bbb07e859908bde62ca..65c7744adef973fd3d9e1e25a7ec1fba8f84026d 100644 (file)
@@ -20,16 +20,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 
 --- a/drivers/crypto/qat/qat_common/adf_common_drv.h
 +++ b/drivers/crypto/qat/qat_common/adf_common_drv.h
-@@ -108,6 +108,8 @@ void adf_dev_shutdown(struct adf_accel_d
- void adf_enable_pf2vf_interrupts(struct adf_accel_dev *accel_dev);
- void adf_disable_pf2vf_interrupts(struct adf_accel_dev *accel_dev);
-+int adf_init_pf_wq(void);
-+void adf_exit_pf_wq(void);
- int adf_iov_putmsg(struct adf_accel_dev *accel_dev, u32 msg, u8 vf_nr);
- void adf_pf2vf_notify_restarting(struct adf_accel_dev *accel_dev);
- int adf_enable_vf2pf_comms(struct adf_accel_dev *accel_dev);
-@@ -145,8 +147,6 @@ int adf_enable_aer(struct adf_accel_dev
+@@ -145,8 +145,6 @@ int adf_enable_aer(struct adf_accel_dev
  void adf_disable_aer(struct adf_accel_dev *accel_dev);
  int adf_init_aer(void);
  void adf_exit_aer(void);
@@ -38,6 +29,15 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  int adf_init_admin_comms(struct adf_accel_dev *accel_dev);
  void adf_exit_admin_comms(struct adf_accel_dev *accel_dev);
  int adf_send_admin_init(struct adf_accel_dev *accel_dev);
+@@ -229,6 +227,8 @@ void adf_disable_vf2pf_interrupts(struct
+                                 uint32_t vf_mask);
+ void adf_enable_vf2pf_interrupts(struct adf_accel_dev *accel_dev,
+                                uint32_t vf_mask);
++int adf_init_pf_wq(void);
++void adf_exit_pf_wq(void);
+ #else
+ static inline int adf_sriov_configure(struct pci_dev *pdev, int numvfs)
+ {
 @@ -238,5 +238,14 @@ static inline int adf_sriov_configure(st
  static inline void adf_disable_sriov(struct adf_accel_dev *accel_dev)
  {