diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-10-25 22:00:50 +0100 |
---|---|---|
committer | Thomas Schwinge <schwinge@nic-nac-project.de> | 2009-10-25 22:18:56 +0100 |
commit | 32874dc0b7d46bb7c954b0efac28169881fa2c1a (patch) | |
tree | 91993530656d7f1150de6cac960020d073b48410 /i386/intel/pmap.c | |
parent | 6e85ad01411dbea60718c97b28887f644d937862 (diff) |
Fix warning
* i386/intel/pmap.c (i): Declare only when [NCPUS > 1].
Diffstat (limited to 'i386/intel/pmap.c')
-rw-r--r-- | i386/intel/pmap.c | 2 |
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, |