Mark the 'lapics' and 'ioapics' arrays here static since they are
private to this file. The 'lapics' array was actually shadowing a completely different 'lapics' array that is private to local_apic.c. Reported by: bde MFC after: 2 weeks
This commit is contained in:
parent
bbbc13f8cf
commit
d8c827012c
@ -53,12 +53,12 @@ __FBSDID("$FreeBSD$");
|
||||
struct ioapic_info {
|
||||
void *io_apic;
|
||||
UINT32 io_vector;
|
||||
} ioapics[MAX_APIC_ID + 1];
|
||||
} static ioapics[MAX_APIC_ID + 1];
|
||||
|
||||
struct lapic_info {
|
||||
u_int la_enabled:1;
|
||||
u_int la_acpi_id:8;
|
||||
} lapics[MAX_APIC_ID + 1];
|
||||
} static lapics[MAX_APIC_ID + 1];
|
||||
|
||||
static int madt_found_sci_override;
|
||||
static ACPI_TABLE_MADT *madt;
|
||||
|
Loading…
Reference in New Issue
Block a user