This reverts commit 53a020c661741f3b87ad3ac6fa545088aaebac9b. The cleanup seems to be one of the changes that broke hybernation for some users. We are still not sure why but revert helps.
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -79,7 +79,7 @@ · 78 unmodified lines | ||
| 79 | 79 | * configuration space */ |
| 80 | 80 | #define VIRTIO_PCI_CONFIG_OFF(msix_enabled) ((msix_enabled) ? 24 : 20) |
| 81 | 81 | /* Deprecated: please use VIRTIO_PCI_CONFIG_OFF instead */ |
| 82 | −#define VIRTIO_PCI_CONFIG(dev) VIRTIO_PCI_CONFIG_OFF((dev)->pci_dev->msix_enabled) | |
| 82 | +#define VIRTIO_PCI_CONFIG(dev) VIRTIO_PCI_CONFIG_OFF((dev)->msix_enabled) | |
| 83 | 83 | |
| 84 | 84 | /* Virtio ABI version, this must match exactly */ |
| 85 | 85 | #define VIRTIO_PCI_ABI_VERSION 0 |