]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fix kABI breakage from pci_dev changes
authorDan Duval <dan.duval@oracle.com>
Sun, 22 May 2016 15:35:04 +0000 (11:35 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 26 May 2016 22:46:09 +0000 (15:46 -0700)
commitf37c30ef40f248fe88fc995a4571ddfbffd17b09
treed9a4fbc56645c086c26c158e1d8925ec63181acd
parentd06c2a37382284581812b9b6cc17f3dbb00492f7
fix kABI breakage from pci_dev changes

Orabug: 23331203

Orabug: 23331203

Commit bb44fa317be6c1dd0650feaae3326ac11f2d37a4 ("PCI: Add
dev->has_secondary_link to track downstream PCIe links") and commit
0af1534fb7b3dba6e11d6c2670912725a2087217 ("PCI: Disable IO/MEM decoding
for devices with non-compliant BARs") added one-bit flags to the
pci_dev structure.  Technically, this broke kABI (according to the
checker, anyway).  In reality, these bits were added after a bunch
of other one-bit fields, the result being that their addition didn't
extend the size of the structure, nor did it change the offsets of
any existing fields of the structure.

This commit simply wraps these two fields in "#ifndef __GENKSYMS__"
to hide them from the checker.

Signed-off-by: Dan Duval <dan.duval@oracle.com>
(cherry picked from commit 32594c00fba3c410b5a339f2ddd0e4c583170186)

Signed-off-by: Dan Duval <dan.duval@oracle.com>
include/linux/pci.h