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)
commitb4fcd43661df0d84cc4e030ab7a26533114889b9
tree1bed34a46ee5413e00f9b733686c67e27a5d7f13
parent0b40f457488d966878eec413a91f27d9b21e6ce5
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