Skip to content

Commit c9ddbac

Browse files
mstsirkinbjorn-helgaas
authored andcommitted
PCI: Restore PCI_MSIX_FLAGS_BIRMASK definition
09a2c73 ("PCI: Remove unused PCI_MSIX_FLAGS_BIRMASK definition") removed PCI_MSIX_FLAGS_BIRMASK from an exported header because it was unused in the kernel. But that breaks user programs that were using it (QEMU in particular). Restore the PCI_MSIX_FLAGS_BIRMASK definition. [bhelgaas: changelog] Signed-off-by: Michael S. Tsirkin <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> CC: [email protected] # v3.13+
1 parent bc0195a commit c9ddbac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/uapi/linux/pci_regs.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,7 @@
319319
#define PCI_MSIX_PBA 8 /* Pending Bit Array offset */
320320
#define PCI_MSIX_PBA_BIR 0x00000007 /* BAR index */
321321
#define PCI_MSIX_PBA_OFFSET 0xfffffff8 /* Offset into specified BAR */
322+
#define PCI_MSIX_FLAGS_BIRMASK PCI_MSIX_PBA_BIR /* deprecated */
322323
#define PCI_CAP_MSIX_SIZEOF 12 /* size of MSIX registers */
323324

324325
/* MSI-X Table entry format */

0 commit comments

Comments
 (0)