diff options
author | Peter Wemm <peter@FreeBSD.org> | 2004-11-30 20:25:46 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2004-11-30 20:25:46 +0000 |
commit | 6210b1477c71895f5ef759beff606db61d98a73d (patch) | |
tree | 02696a1ba98a7a9d33f6558cd93ceab4c607eb57 /sys/amd64/amd64/vm_machdep.c | |
parent | 29fe88d256bfad7c21355e114fb4000ee716a495 (diff) | |
download | src-6210b1477c71895f5ef759beff606db61d98a73d.tar.gz src-6210b1477c71895f5ef759beff606db61d98a73d.zip |
Remove unused cnt variable for the SMP case. Trim some excessive blank
lines while here.
Notes
Notes:
svn path=/head/; revision=138237
Diffstat (limited to 'sys/amd64/amd64/vm_machdep.c')
-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 b21ae52c62e0..c8e8d7c3a6e3 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 */ |