Remove unused cnt variable for the SMP case. Trim some excessive blank
lines while here.
This commit is contained in:
parent
aa3bb6e754
commit
c701aac0d6
@ -334,18 +334,14 @@ cpu_reset()
|
||||
cpu_reset_real();
|
||||
/* NOTREACHED */
|
||||
} else {
|
||||
|
||||
u_int map;
|
||||
int cnt;
|
||||
|
||||
printf("cpu_reset called on cpu#%d\n", PCPU_GET(cpuid));
|
||||
|
||||
map = PCPU_GET(other_cpus) & ~ stopped_cpus;
|
||||
|
||||
if (map != 0) {
|
||||
printf("cpu_reset: Stopping other CPUs\n");
|
||||
stop_cpus(map); /* Stop all other CPUs */
|
||||
}
|
||||
|
||||
DELAY(1000000);
|
||||
cpu_reset_real();
|
||||
/* NOTREACHED */
|
||||
|
Loading…
x
Reference in New Issue
Block a user