git: 2ca500f19627 - stable/13 - x86 mptable: Include <x86/legacvar.h> for legacy_get_pcibus().

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 13 Jul 2022 16:47:46 UTC
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=2ca500f19627e3491d476018fe39549a88c9623e

commit 2ca500f19627e3491d476018fe39549a88c9623e
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-06-23 22:00:12 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-07-13 16:21:27 +0000

    x86 mptable: Include <x86/legacvar.h> for legacy_get_pcibus().
    
    Fixes:          b076d8d54c2f mptable_hostb: Use legacy_get_pcibus() to fetch PCI bus number.
    
    (cherry picked from commit 15a6642da6b0b97de580e06349706cf7e660986c)
---
 sys/x86/x86/mptable.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/x86/x86/mptable.c b/sys/x86/x86/mptable.c
index c5f113c55a2b..ec746b756b4f 100644
--- a/sys/x86/x86/mptable.c
+++ b/sys/x86/x86/mptable.c
@@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$");
 #include <dev/pci/pcib_private.h>
 #endif
 #include <x86/apicreg.h>
+#include <x86/legacyvar.h>
 #include <x86/mptable.h>
 #include <machine/frame.h>
 #include <machine/intr_machdep.h>