diff options
author | peter <peter@FreeBSD.org> | 2004-11-30 20:25:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-11-30 20:25:46 +0000 |
commit | c701aac0d68d8ed97ee0b295d672716d1e7c3dc2 (patch) | |
tree | 02696a1ba98a7a9d33f6558cd93ceab4c607eb57 /sys/amd64 | |
parent | aa3bb6e7540644b9cb915ae14a6251e1f24510b6 (diff) | |
download | FreeBSD-src-c701aac0d68d8ed97ee0b295d672716d1e7c3dc2.zip FreeBSD-src-c701aac0d68d8ed97ee0b295d672716d1e7c3dc2.tar.gz |
Remove unused cnt variable for the SMP case. Trim some excessive blank
lines while here.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/vm_machdep.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/amd64/amd64/vm_machdep.c b/sys/amd64/amd64/vm_machdep.c index b21ae52..c8e8d7c 100644 --- a/sys/amd64/amd64/vm_machdep.c +++ b/sys/amd64/amd64/vm_machdep.c @@ -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)); + 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 */ |