summaryrefslogtreecommitdiff
path: root/mp.c
diff options
context:
space:
mode:
authorrsc <rsc>2006-09-06 17:57:47 +0000
committerrsc <rsc>2006-09-06 17:57:47 +0000
commit48b824703b35e17965c738743c7394e1fc0017ec (patch)
tree6ac3358c12018c06bddc9769338bce8061040f43 /mp.c
parent96d467b3a9027412eed8bf5ec3c4521db44469ef (diff)
downloadxv6-labs-48b824703b35e17965c738743c7394e1fc0017ec.tar.gz
xv6-labs-48b824703b35e17965c738743c7394e1fc0017ec.tar.bz2
xv6-labs-48b824703b35e17965c738743c7394e1fc0017ec.zip
break single-line if statements
Diffstat (limited to 'mp.c')
-rw-r--r--mp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mp.c b/mp.c
index b18bc1a..3b67b50 100644
--- a/mp.c
+++ b/mp.c
@@ -204,7 +204,8 @@ mp_startthem(void)
(uint) _binary_bootother_size);
for(c = 0; c < ncpu; c++){
- if(c == cpu()) continue;
+ if(c == cpu())
+ continue;
*(uint*)(APBOOTCODE-4) = (uint) (cpus[c].mpstack) + MPSTACK; // tell it what to use for %esp
*(uint*)(APBOOTCODE-8) = (uint)mpmain; // tell it where to jump to
lapic_startap(cpus[c].apicid, (uint) APBOOTCODE);