summaryrefslogtreecommitdiff
path: root/i386/i386at/model_dep.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386at/model_dep.c')
-rw-r--r--i386/i386at/model_dep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c
index a8f9b866..edb5b48b 100644
--- a/i386/i386at/model_dep.c
+++ b/i386/i386at/model_dep.c
@@ -215,7 +215,7 @@ void machine_init(void)
pmap_unmap_page_zero();
#endif
-#ifdef APIC
+#if NCPUS > 1
/*
* Patch the realmode gdt with the correct offset and the first jmp to
* protected mode with the correct target.