svn commit: r358800 - head/sys/dev/cpufreq

Emmanuel Vadot manu at FreeBSD.org
Mon Mar 9 03:34:17 UTC 2020


Author: manu
Date: Mon Mar  9 03:34:16 2020
New Revision: 358800
URL: https://svnweb.freebsd.org/changeset/base/358800

Log:
  cpufreq: Unbreak build.

Modified:
  head/sys/dev/cpufreq/cpufreq_dt.c

Modified: head/sys/dev/cpufreq/cpufreq_dt.c
==============================================================================
--- head/sys/dev/cpufreq/cpufreq_dt.c	Mon Mar  9 02:30:16 2020	(r358799)
+++ head/sys/dev/cpufreq/cpufreq_dt.c	Mon Mar  9 03:34:16 2020	(r358800)
@@ -519,7 +519,8 @@ cpufreq_dt_attach(device_t dev)
 			continue;
 		if (cpu == sc->cpu) {
 			DEBUG(dev, "Skipping our cpu\n");
-			CPU_SET(cpu++, &sc->cpus);
+			CPU_SET(cpu, &sc->cpus);
+			cpu++;
 			continue;
 		}
 		DEBUG(dev, "Testing CPU %d\n", cpu);


More information about the svn-src-all mailing list