]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
linuxkpi: Move pci_alloc_irq_vectors to .c file
authorWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:06:21 +0000 (23:06 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 5 Apr 2022 05:06:21 +0000 (23:06 -0600)
commit36b5c440028b44b22cfc0596125f575ca513656f
tree737f0c7c33a058387579816e1dd94795a6306069
parent1cdb25340f8ee5dd145b0dc370cbab1bd7bdca65
linuxkpi: Move pci_alloc_irq_vectors to .c file

pci_alloc_irq_vectors encodes the size of struct msix_entry
into its code. Move from .h to .c to move this knowledge from
client modules to linuxkpi module.

Sponsored by: Netflix
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34774
sys/compat/linuxkpi/common/include/linux/pci.h
sys/compat/linuxkpi/common/src/linux_pci.c