diff options
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 0f1c7d103509..22dcfdb75d91 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -1,6 +1,8 @@ | |||
1 | #ifndef DRIVERS_PCI_H | 1 | #ifndef DRIVERS_PCI_H |
2 | #define DRIVERS_PCI_H | 2 | #define DRIVERS_PCI_H |
3 | 3 | ||
4 | #include <linux/workqueue.h> | ||
5 | |||
4 | #define PCI_CFG_SPACE_SIZE 256 | 6 | #define PCI_CFG_SPACE_SIZE 256 |
5 | #define PCI_CFG_SPACE_EXP_SIZE 4096 | 7 | #define PCI_CFG_SPACE_EXP_SIZE 4096 |
6 | 8 | ||
@@ -218,6 +220,8 @@ struct pci_sriov { | |||
218 | struct pci_dev *dev; /* lowest numbered PF */ | 220 | struct pci_dev *dev; /* lowest numbered PF */ |
219 | struct pci_dev *self; /* this PF */ | 221 | struct pci_dev *self; /* this PF */ |
220 | struct mutex lock; /* lock for VF bus */ | 222 | struct mutex lock; /* lock for VF bus */ |
223 | struct work_struct mtask; /* VF Migration task */ | ||
224 | u8 __iomem *mstate; /* VF Migration State Array */ | ||
221 | }; | 225 | }; |
222 | 226 | ||
223 | #ifdef CONFIG_PCI_IOV | 227 | #ifdef CONFIG_PCI_IOV |