summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
Diffstat (limited to 'i386')
-rw-r--r--i386/intel/pmap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index f6cbead..d1a7c47 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -693,7 +693,9 @@ void pmap_init()
register long npages;
vm_offset_t addr;
register vm_size_t s;
+#if NCPUS > 1
int i;
+#endif /* NCPUS > 1 */
/*
* Allocate memory for the pv_head_table and its lock bits,