]> 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>
Wed, 6 Apr 2022 17:45:38 +0000 (11:45 -0600)
commitebd35d1ceb36d9c605b8d3d970175c87052b6e18
treea291e5f4dff027e3f0c8efa6af38d09cce0ea31b
parent20f0a3ac5be415581e449335576c40090cac76cb
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.

Approved by: re@ (gjb)
Sponsored by: Netflix
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34774

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