Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm Fix a c&p error from 1.3 that should fixes ...
details: https://anonhg.NetBSD.org/src/rev/bfe33aad5334
branches: trunk
changeset: 1008619:bfe33aad5334
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Mar 29 08:27:41 2020 +0000
description:
Fix a c&p error from 1.3 that should fixes mrg's rk3399 slow vs fast CPU
problem.
My XU4 certainly reports the right relative speeds for the 5 (yes, 5) CPUs
that are avalable.
diffstat:
sys/arch/arm/arm/arm_cpu_topology.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 6915ef276c47 -r bfe33aad5334 sys/arch/arm/arm/arm_cpu_topology.c
--- a/sys/arch/arm/arm/arm_cpu_topology.c Sun Mar 29 06:44:16 2020 +0000
+++ b/sys/arch/arm/arm/arm_cpu_topology.c Sun Mar 29 08:27:41 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: arm_cpu_topology.c,v 1.4 2020/02/15 08:16:10 skrll Exp $ */
+/* $NetBSD: arm_cpu_topology.c,v 1.5 2020/03/29 08:27:41 skrll Exp $ */
/*
* Copyright (c) 2020 Matthew R. Green
@@ -33,7 +33,7 @@
#include "opt_multiprocessor.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: arm_cpu_topology.c,v 1.4 2020/02/15 08:16:10 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_cpu_topology.c,v 1.5 2020/03/29 08:27:41 skrll Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -97,8 +97,8 @@
for (CPU_INFO_FOREACH(cii, ci)) {
if (ci == newci)
continue;
- cpu_topology_setspeed(newci,
- newci->ci_capacity_dmips_mhz < best_cap);
+ cpu_topology_setspeed(ci,
+ ci->ci_capacity_dmips_mhz < best_cap);
}
#endif /* MULTIPROCESSOR */
}
Home |
Main Index |
Thread Index |
Old Index