/* This function allows userspace PCI config accesses to resume.  */
void pci_unblock_user_cfg_access(struct pci_dev *dev)
/* This function allows userspace PCI config accesses to resume.  */
void pci_unblock_user_cfg_access(struct pci_dev *dev)
{
	unsigned long flags;
	spin_lock_irqsave(&pci_lock, flags);
	WARN_ON(!dev->block_ucfg_access);
	dev->block_ucfg_access = 0;
	wake_up_all(&pci_ucfg_wait);
	spin_unlock_irqrestore(&pci_lock, flags);
}