summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/cpu/mp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/arch/amd64/cpu/mp.c b/sys/arch/amd64/cpu/mp.c
index 09c824e..ae40025 100644
--- a/sys/arch/amd64/cpu/mp.c
+++ b/sys/arch/amd64/cpu/mp.c
@@ -73,6 +73,11 @@ cpu_lapic_cb(struct apic_header *h, size_t arg)
return -1;
}
+ /* If not online capable, continue */
+ if (!ISSET(lapic->flags, 0x3)) {
+ return -1;
+ }
+
/* Prepare the IPI packet */
ipi.dest_id = lapic->apic_id;
ipi.vector = 0;