]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: use spinlock to implement mailbox lock
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 10 Jul 2017 20:23:15 +0000 (13:23 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Oct 2017 15:12:44 +0000 (08:12 -0700)
commit7d8ede05c8953add922a228c833cc365e1e2f77f
tree1bed34a46ee5413e00f9b733686c67e27a5d7f13
parent8258a2c52e7016ae8c746f8aa946c0358c43048e
fm10k: use spinlock to implement mailbox lock

Lets not re-invent the locking wheel. Remove our bitlock and use
a proper spinlock instead.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k.h
drivers/net/ethernet/intel/fm10k/fm10k_pci.c