aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at/acpi_parse_apic.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/acpi_parse_apic.c')
-rw-r--r--i386/i386at/acpi_parse_apic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/acpi_parse_apic.c b/i386/i386at/acpi_parse_apic.c
index 24470426..ae92ee2e 100644
--- a/i386/i386at/acpi_parse_apic.c
+++ b/i386/i386at/acpi_parse_apic.c
@@ -376,7 +376,7 @@ static void
acpi_apic_add_lapic(struct acpi_apic_lapic *lapic_entry)
{
/* If cpu flag is correct */
- if (lapic_entry->flags & 0x1) {
+ if (lapic_entry->flags & (ACPI_LAPIC_FLAG_ENABLED | ACPI_LAPIC_FLAG_CAPABLE)) {
/* Add cpu to processors' list. */
apic_add_cpu(lapic_entry->apic_id);
}