git: 15a6642da6b0 - main - x86 mptable: Include <x86/legacvar.h> for legacy_get_pcibus().

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 23 Jun 2022 22:01:05 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=15a6642da6b0b97de580e06349706cf7e660986c

commit 15a6642da6b0b97de580e06349706cf7e660986c
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-06-23 22:00:12 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-06-23 22:00:12 +0000

    x86 mptable: Include <x86/legacvar.h> for legacy_get_pcibus().
    
    Fixes:          b076d8d54c2f mptable_hostb: Use legacy_get_pcibus() to fetch PCI bus number.
    MFC after:      1 week
---
 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>