Skip to content

Commit f83d39f

Browse files
ytakanoIsaacWoods
authored andcommitted
fix: increment processor_count if LocalX2Apic is found
Signed-off-by: Yuuki Takano <[email protected]>
1 parent baf55fe commit f83d39f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

acpi/src/madt.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ impl Madt {
134134
MadtEntry::NmiSource(_) => nmi_source_count += 1,
135135
MadtEntry::LocalApicNmi(_) => local_nmi_line_count += 1,
136136
MadtEntry::LocalApic(_) => processor_count += 1,
137+
MadtEntry::LocalX2Apic(_) => processor_count += 1,
137138
_ => (),
138139
}
139140
}

0 commit comments

Comments
 (0)