mirror of
https://github.com/QuixiAI/nvdriver.git
synced 2026-12-06 14:38:47 +00:00
exclude_bars arrived in 6.19 and was backported to 6.18 stable, so a LINUX_VERSION_CODE >= 6.19 check misses those trees. Key the fourth argument off the declaration in include/linux/pci.h, the same way PCI_IRQ_INTX is keyed off the macro. - kernel-open/Kbuild defines NV_RS_PCI_RESIZE_EXCLUDE_BARS when pci.h declares exclude_bars. - pci_adapter.c prefers that macro, then the 6.19 and Ubuntu checks. - docs/KERNEL_COMPAT.md records the guard.