]> 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 14:40:11 +0000 (08:40 -0600)
commitbc01b383945ca4f327ddb5cc940dcbafa3aaff7c
tree5b225cef4cd37c9dbc1ab450115c58ba4f7287e4
parent4859994c42950600b57e9d2259bd027562eefbe3
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

(cherry picked from commit 36b5c440028b44b22cfc0596125f575ca513656f)
sys/compat/linuxkpi/common/include/linux/pci.h
sys/compat/linuxkpi/common/src/linux_pci.c