git: 1f9fbf1774c2 - stable/13 - apic: initialize lapic_paddr statically
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Oct 2021 09:24:15 UTC
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=1f9fbf1774c2ed79bc575ff2efe7d7318573b1ea commit 1f9fbf1774c2ed79bc575ff2efe7d7318573b1ea Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-10-05 13:19:56 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-10-10 09:21:18 +0000 apic: initialize lapic_paddr statically (cherry picked from commit f8d3368b4346237deeaaaa91308ce78f8e2ea820) --- sys/x86/x86/local_apic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/x86/x86/local_apic.c b/sys/x86/x86/local_apic.c index ee549559f5b1..ab19a6c7bc69 100644 --- a/sys/x86/x86/local_apic.c +++ b/sys/x86/x86/local_apic.c @@ -193,7 +193,7 @@ static u_int32_t lapic_timer_divisors[] = { extern inthand_t IDTVEC(rsvd_pti), IDTVEC(rsvd); volatile char *lapic_map; -vm_paddr_t lapic_paddr; +vm_paddr_t lapic_paddr = DEFAULT_APIC_BASE; int x2apic_mode; int lapic_eoi_suppression; static int lapic_timer_tsc_deadline;